Re: [opensuse] fstab Drives Listed by id
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2008-05-22 a las 14:35 -0700, William Hammond escribió: You forgot to email to the list.
I can't create a Bare Metal Disaster Recovery CD.
fstab records the Drives listed by ID "/dev/disk/by-id/SCSI-SSEAGATE_ST........"
So if a new drive is encountered it can't be mounted.
Why not?
I didn't quite follow this comment. Is it or is it not okay to edit the fstab manually.
Of course it is ok, I do it all the time. I meant that I don't understand why you say a new drive can not be mounted manually.
I can imagine a scenario where booting up is no longer possible without further repair.
I also wonder why you would want to list by id in first place... Seems like replacing a hard drive becomes quite difficult...?
Because the names like hda, sda... can change, some even on the boot order. They are no longer stable, unfortunately, so they switched to that scheme. I prefer mounting "by-label". You have several choices: cer@nimrodel:~> ls /dev/disk/ by-id by-label by-path by-uuid and all of them are symlinks to the physical devices (sda, etc). - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFINffgtTMYHG2NR9URAimjAJ4mEWIEhrICGiE6U80+lBaP1LqsPACfd7AU tk/nVeOF6zoQxP290y4Tgqg= =bkX7 -----END PGP SIGNATURE-----
At 03:46 PM 5/22/2008, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
El 2008-05-22 a las 14:35 -0700, William Hammond escribió:
You forgot to email to the list.
Sorry bout that....
I can't create a Bare Metal Disaster Recovery CD.
fstab records the Drives listed by ID > "/dev/disk/by-id/SCSI-SSEAGATE_ST........" So if a new drive is encountered it can't be mounted. Why not?
I didn't quite follow this comment. Is it or is it not okay to edit the fstab manually.
Of course it is ok, I do it all the time. I meant that I don't understand why you say a new drive can not be mounted manually.
Not manually, the Disaster Recovery Software fails, I assume because the drive id for the new drive doesn't match fstab.. I'm working with them on that issue. I thought that if I could modify the fstab to match 10.2 the process would be less complicated. The list by id seems to be new in 10.3, I'm not sure if that is better or just complicates.
I can imagine a scenario where booting up is no longer possible without further repair.
I also wonder why you would want to list by id in first place... Seems like replacing a hard drive becomes quite difficult...?
Because the names like hda, sda... can change, some even on the boot order. They are no longer stable, unfortunately, so they switched to that scheme. I prefer mounting "by-label". You have several choices:
cer@nimrodel:~> ls /dev/disk/ by-id by-label by-path by-uuid
and all of them are symlinks to the physical devices (sda, etc).
- -- Saludos Carlos E.R.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFINffgtTMYHG2NR9URAimjAJ4mEWIEhrICGiE6U80+lBaP1LqsPACfd7AU tk/nVeOF6zoQxP290y4Tgqg= =bkX7 -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-05-22 at 16:35 -0700, William Hammond wrote: ...
Of course it is ok, I do it all the time. I meant that I don't understand why you say a new drive can not be mounted manually.
Not manually, the Disaster Recovery Software fails, I assume because the drive id for the new drive doesn't match fstab.. I'm working with them on that issue. I thought that if I could modify the fstab to match 10.2 the process would be less complicated. The list by id seems to be new in 10.3, I'm not sure if that is better or just complicates.
Ah, so it is some kind of automated recovery process or program. Well, they should adapt to the new state of things: for instance, display a window to let you choose the devices names for replication. They can use by-id, or by-label, or by-path, or by-uuid, and even old style - but keep in mind when each of them can change and what is best for each situation. Choose one: by-id each drive has a different set. Make, model, serial number, partition by-label you create them as you like. Two drives can have exact the same set --> conflict. by-path depends on where the device is plugged, not on the device itself. Perhaps you should use this one for replication on the same (or equal) machine by-uuid automatically created at format time. This thing is not new, it was available for some time before 10.3. !0.2 had it, but it did not use it for the fstab. It's become the method to use since the change to libata, because the classic device names could not be guaranteed to remain fixed. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFINhDftTMYHG2NR9URAlWRAJ47C6L34+4Y4vIvE9hms95OrHYVpQCeJfNz socYkRSRMJxBYZmPSCMrPL0= =dFPN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 05:33 PM 5/22/2008, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Thursday 2008-05-22 at 16:35 -0700, William Hammond wrote:
...
Of course it is ok, I do it all the time. I meant that I don't understand why you say a new drive can not be mounted manually.
Not manually, the Disaster Recovery Software fails, I assume because the drive id for the new drive doesn't match fstab.. I'm working with them on that issue. I thought that if I could modify the fstab to match 10.2 the process would be less complicated. The list by id seems to be new in 10.3, I'm not sure if that is better or just complicates.
Ah, so it is some kind of automated recovery process or program. Well, they should adapt to the new state of things: for instance, display a window to let you choose the devices names for replication.
They can use by-id, or by-label, or by-path, or by-uuid, and even old style - but keep in mind when each of them can change and what is best for each situation.
Choose one:
by-id each drive has a different set. Make, model, serial number, partition
by-label you create them as you like. Two drives can have exact the same set --> conflict.
by-path depends on where the device is plugged, not on the device itself. Perhaps you should use this one for replication on the same (or equal) machine
by-uuid automatically created at format time.
Thank you for both a very clear explanation of the problem, and even a solution for me to pass on to the developers...
This thing is not new, it was available for some time before 10.3. !0.2 had it, but it did not use it for the fstab. It's become the method to use since the change to libata, because the classic device names could not be guaranteed to remain fixed.
- -- Cheers, Carlos E. R.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFINhDftTMYHG2NR9URAlWRAJ47C6L34+4Y4vIvE9hms95OrHYVpQCeJfNz socYkRSRMJxBYZmPSCMrPL0= =dFPN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Carlos E. R.
-
William Hammond