changing file system names

Robert Holtzman holtzm at cox.net
Mon Jun 30 10:01:13 MST 2008


On Sun, 29 Jun 2008, James Mcphee wrote:

> What you're talking about is exactly why Ubuntu and some other distos went
> with UUID's instead of paths in /etc/fstab.  Does your distro support those?
>
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> # /dev/sdb1
> UUID=53bb8ce3-7822-46ba-a18a-34d00d1f70b7 /               ext3
> defaults,errors=remount-ro 0       1
>
>
> On Sun, Jun 29, 2008 at 6:03 PM, Robert Holtzman <holtzm at cox.net> wrote:
>
>> Just had occasion to look at my /etc/mtab and the file system names had
>> changed from /dev/sda* to /dev/sdb*. My /etc/fstab still shows /dev/sda*.
>> This may have happened when I recently used gparted to create 3 new
>> partitions (which I have yet to designate labels or mount points for).
>> What happened and can I rename back to /dev/sda* or do I live with it and
>> edit /etc/fstab?
>>
>> The danger, of course, is that if anything happened that would force me to
>> reboot, such as a power outage, I'd be screwed....I think.

Yes, I'm running Ubuntu 8.04 and it uses UUID's. I ran
"ls -l /dev/disk/by-uuid" to see if the UUID's matched those in /etc/fstab 
and they did. From this am I correct in assuming that it's safe to reboot?
If it is, then we're back to my original question: is there any way to 
change /dev/sdb* back to /dev/sda* or should I live with it and edit 
fstab?

-- 
Bob Holtzman
A fair fight is the result of poor planning.


More information about the PLUG-discuss mailing list