On Wed, 18 Aug 2010, John R Pierce wrote:
To: CentOS mailing list centos@centos.org From: John R Pierce pierce@hogranch.com Subject: Re: [CentOS] SDA and HDA
On 08/18/10 11:56 AM, Keith Roberts wrote:
If LVM supports them, partition labels are the way to go.
/dev/?da?? get screwed up if you create or destroy partitions. Whereas labels don't care about the actual device name in question.
and plug that disk with label 'root' into another system that has label 'root' and watch it not be to mount the root file system when it boots.
btdt.
Thanks for pointing that anomaly out John. I'll keep that in mind for future installations.
The full root partition label name is:
LABEL=Fedora-12-root
and there is only one entry in /etc/fstab to mount the root partition by that label name.
Personally I can't see myself moving hard drives around from machine to machine, as I only have 1 main machine (tower case with 3.5" drives) and a few laptops using 2.5" drives.
And for my Centos root partition, it will have a root label something like:
LABEL=Centos-5-root / ext3 defaults 1 1
Again there will only be one entry in /etc/fstab for a particular active root partition.
Kind Regards,
Keith Roberts
----------------------------------------------------------------- Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk
All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------------