Mounting drives by label
Harald Hoyer
harald at redhat.com
Sat May 24 12:38:52 UTC 2008
Ahmed Kamal wrote:
> I think sata drives are not meant to be persistent. Replace /dev/sdX in
> your fastab, with LABEL=audio_drive or so. This will mount the drives by
> label
> Regards
>
> On Sat, May 24, 2008 at 2:05 PM, Paul F. Johnson
> <paul at all-the-johnsons.co.uk <mailto:paul at all-the-johnsons.co.uk>> wrote:
>
> Hi,
>
> I've labelled my drives using e2label and they're now being
> recognised as
> home_drive, audio_drive and devel_drive. I can only sometimes mount them
> using fstab as it looks like the labels aren't being used, but the
> last /dev/
> sd* is (for example, /dev/sde1 might be audio_drive, but then on the
> next
> boot, /dev/sdf1 is audio_drive but then the system fails on booting
> with the
> error that /dev/sde1 is mounted).
>
> There is nothing in /etc/mtab, but the problem seems to occur when
> the system
> is rebooted after the shutdown procedure didn't work correctly.
>
> Any ideas on this or what I should file it under with BZ?
>
> TTFN
>
> Paul
>
> --
> Programmer, GirlGamer
> www.girlgamer.com <http://www.girlgamer.com>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com <mailto:fedora-devel-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
>
/dev/disk
$ find /dev/disk
/dev/disk
/dev/disk/by-label
/dev/disk/by-label/Recovery\x20Partition
/dev/disk/by-label/VAIO
/dev/disk/by-label/\x2fboot
/dev/disk/by-uuid
/dev/disk/by-uuid/FC30-3DA9
/dev/disk/by-uuid/dc173540-b6c2-40cd-b167-aad6fd6f3668
/dev/disk/by-uuid/9ECCDDF0CCDDC327
/dev/disk/by-uuid/4C54A5A254A58EF0
/dev/disk/by-uuid/a11cd600-3f6b-4c3d-96bf-3e12f16f6e5f
/dev/disk/by-id
/dev/disk/by-id/usb-Sony_PRS-505.UC:SD_080046100067D048-0:2-part1
/dev/disk/by-id/usb-Sony_PRS-505.UC:SD_080046100067D048-0:2
/dev/disk/by-id/usb-Sony_PRS-505.UC:MS_080046100067D048-0:1
/dev/disk/by-id/usb-Sony_PRS-505.UC_080046100067D048-0:0
/dev/disk/by-id/ata-FUJITSU_MHV2200BT_NY06T6825BW7-part5
/dev/disk/by-id/scsi-SATA_FUJITSU_MHV2200_NY06T6825BW7-part5
/dev/disk/by-id/ata-FUJITSU_MHV2200BT_NY06T6825BW7-part1
/dev/disk/by-id/scsi-SATA_FUJITSU_MHV2200_NY06T6825BW7-part1
/dev/disk/by-id/ata-FUJITSU_MHV2200BT_NY06T6825BW7-part2
/dev/disk/by-id/scsi-SATA_FUJITSU_MHV2200_NY06T6825BW7-part2
/dev/disk/by-id/ata-FUJITSU_MHV2200BT_NY06T6825BW7-part3
/dev/disk/by-id/scsi-SATA_FUJITSU_MHV2200_NY06T6825BW7-part3
/dev/disk/by-id/ata-FUJITSU_MHV2200BT_NY06T6825BW7-part4
/dev/disk/by-id/scsi-SATA_FUJITSU_MHV2200_NY06T6825BW7-part4
/dev/disk/by-id/ata-FUJITSU_MHV2200BT_NY06T6825BW7
/dev/disk/by-id/scsi-SATA_FUJITSU_MHV2200_NY06T6825BW7
/dev/disk/by-path
/dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:2-part1
/dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:2
/dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:1
/dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part5
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part1
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part2
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part3
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part4
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
More information about the fedora-devel-list
mailing list