On Wed, Apr 09, 2008 at 10:27:43AM -0400, Damon L. Chesser wrote:
> Alex Samad wrote:
>> On Tue, Apr 08, 2008 at 11:08:11PM -0400, Mitchell Laks wrote:
>>   
>>> Hi,
>>>
[snip]
>>   
> I looked at tune2fs -l /dev/md0:
> Filesystem UUID:          d3bb5b79-2d5f-438d-a60e-5437e80e2edf
>
> from ls -l /dev/disk/by-uuid
>
> root root  9 2008-04-07 12:51 d3bb5b79-2d5f-438d-a60e-5437e80e2edf ->  
> ../../md0
>
> As you can see, same UUID.  So then I went to look at /etc/fstab:
>
> # /dev/md0
> UUID=d3bb5b79-2d5f-438d-a60e-5437e80e2edf  /home           ext3     
> defaults        0       2
>
> As you can see, same uuid and md0 is mounted by uuid.
>
> from my menu.lst
>
> title         Ubuntu 7.10, kernel 2.6.22-14-generic
> root          (hd0,5)
> kernel                /boot/vmlinuz-2.6.22-14-generic 
> root=UUID=cbec0e90-a36f-4850-8da0-8c4ab3d94247 ro quiet splash
> initrd                /boot/initrd.img-2.6.22-14-generic
>
> different uuid becuse / is not on a raid, only /home is.  From fstab for /:
>
> # /dev/hda6
> UUID=cbec0e90-a36f-4850-8da0-8c4ab3d94247 /               ext3     
> defaults,errors=remount-ro 0       1
>
> Disclaimer, this is NOT debian, but ubuntu 7.10.  Due to not being able  
> to print in debian, I am currently forced to run ubuntu.  Very close to  
> debian though.
>
> What you did not say was what version of Debian are you running?  It all  
> works here. There is the bug listed above but the dev says that sid does  
> not fix the issue.  If you are running ubuntu, it should work. (it does  
> here, YMMV.).  But then again, it always worked for me in Debian also.

I am on amd64 lenny (with some sid), 2.6.24
I don't normally use UUID's i have been using labels

mdadm --detail /dev/md1 | grep UUID
           UUID : ba8c4627:6e74a6c4:1a2e6c15:22feafcf
tune2fs -l /dev/md1 | grep  UUID
Filesystem UUID:          ec3e3537-4e36-443e-8132-5b0f03dd0978

As you can see the UUID ids are different between md1, I don't have a
/dev/disk/by-uuid (i remember having it before)

here is the output of blkid (which i believe is used to make up the links
in /dev/disk/by-uuid)
 blkid  | grep md1
/dev/md1: LABEL="/" UUID="ec3e3537-4e36-443e-8132-5b0f03dd0978"
SEC_TYPE="ext2" TYPE="ext3"

so if i wanted to mount my / partition (/dev/md0 is /boot), then I could
put
UUID=ec3e3537-4e36-443e-8132-5b0f03dd0978 / auto ...... in my fstab file

Alex
>
> HTH?
>
> -- 
> Damon L. Chesser
> [EMAIL PROTECTED]
>
>
>
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a 
> subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

-- 
I have a terrible headache,  I was putting on toilet water and the lid fell.

Attachment: signature.asc
Description: Digital signature

Reply via email to