Mailinglist Archive: opensuse-factory (437 mails)
< Previous | Next > |
Re: [opensuse-factory] fstab, systemd and UUID
- From: Stefan Seyfried <stefan.seyfried@xxxxxxxxxxxxxx>
- Date: Wed, 08 Apr 2015 10:22:48 +0200
- Message-id: <5524E558.1020505@message-id.googlemail.com>
Am 07.04.2015 um 19:40 schrieb Jan Engelhardt:
No, actually not.
In "normal" setups (no multipath, fancy storage etc), all disks are /dev/sd*
The only exception is KVM Virtualization if people still use the (old,
featureless, not useful) virtio-blk instead of the (better, newer, more
features) virtio-scsi. The solution there: use virtio-scsi, and disks
are again /dev/sd*.
And in normal setups, people do usually not reconfigure their built-in
disks every day to cause sda->sdc changes, and if they do, they can
still choose boot-by-whatever to make this painless.
Actually everything but /dev/sdX has been a major PITA, because it has
been eiter unstable or not usabe for humans.
/dev/disk/by-uuid: seriously, this is for machines, not for humans.
/dev/disk/by-id: *not* stable. scsi-1ATA vs scsi-SATA vs ata- anyone?
/dev/disk/by-path: *not* stable, at least with virtualization
/dev/disk/by-label: *not* unique, better not plug in your old disk in an
USB case, I use it anyway but know the pitfalls
/dev/sd*: just works most of the time, in standard setups.
--
Stefan Seyfried
"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
On Tuesday 2015-04-07 19:26, ellanios82 wrote:
- perhaps , make an exception , and not to use
UUIDs for swap ::
for instance ::
/dev/sdb3 swap swap defaults 0 0
This is so bad a joke it's not even funny.
/dev/sd* are in the class of the most unstable names you can possibly
/get.
No, actually not.
In "normal" setups (no multipath, fancy storage etc), all disks are /dev/sd*
The only exception is KVM Virtualization if people still use the (old,
featureless, not useful) virtio-blk instead of the (better, newer, more
features) virtio-scsi. The solution there: use virtio-scsi, and disks
are again /dev/sd*.
And in normal setups, people do usually not reconfigure their built-in
disks every day to cause sda->sdc changes, and if they do, they can
still choose boot-by-whatever to make this painless.
Actually everything but /dev/sdX has been a major PITA, because it has
been eiter unstable or not usabe for humans.
/dev/disk/by-uuid: seriously, this is for machines, not for humans.
/dev/disk/by-id: *not* stable. scsi-1ATA vs scsi-SATA vs ata- anyone?
/dev/disk/by-path: *not* stable, at least with virtualization
/dev/disk/by-label: *not* unique, better not plug in your old disk in an
USB case, I use it anyway but know the pitfalls
/dev/sd*: just works most of the time, in standard setups.
--
Stefan Seyfried
"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
< Previous | Next > |