Page 1 of 1

Mounting second drive - blank uuid

Posted: Thu Nov 25, 2010 3:05 am
by milhem
Having some trouble mounting my second hard drive.

I had it in my server for 10 minutes then removed it. Then, when I inserted it agaid and tried to mount, i get a blank UUID and it says it is already in fstab - however there are no entries in fstab for sdb1...

Any help will be appreciated. I think Amahi is a great product and I have already trashed my WHS in favour of Amahi. I used the express CD install and am running headless.

Regards
Milhem

[root@intel01 ~]# ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2010-11-25 07:57 2b0e9e0a-26c6-4405-a167-84ab9113e259 -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-11-25 07:57 e8929435-c068-4a97-82f3-be5722d03e4e -> ../../sda2
[root@intel01 ~]# hda-diskmount
****************************************************************
Ignoring /dev/sda1 - already mounted
Ignoring /dev/sda1 - already in /etc/fstab as UUID=2b0e9e0a-26c6-4405-a167-84ab9 113e259
****************************************************************
Ignoring /dev/sdb1 - already in /etc/fstab as UUID=
****************************************************************
No usable Linux, Windows or Mac partitions found on your disks.



[root@intel01 ~]# mount; fdisk -l; df -h; greyhole --stats
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004c08d

Device Boot Start End Blocks Id System
/dev/sda1 * 1 120826 970534081 83 Linux
/dev/sda2 120826 121601 6225920 82 Linux swap / Solaris

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x14ce7dc6

Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976760001 83 Linux
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 912G 495G 371G 58% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
[root@intel01 ~]#

Re: Mounting second drive - blank uuid

Posted: Wed Dec 01, 2010 8:00 pm
by uslacker
I just went through this. It appears that Fedora likes to put drive in raid groups. You'll need to do some work to fix it. I wrote short blog post that might help. It's a bit thin at the moment, but take a look.
http://linux2.gmartin.org:82/tiki/tiki- ... postId=152

Re: Mounting second drive - blank uuid

Posted: Sat Mar 26, 2011 1:25 pm
by Feanor
I'm having this problem (although it's drive #13).
cfdisk and mkfs ran without issue.

hda-diskmount:

Code: Select all

/usr/sbin/hda-diskmount: line 222: pmount: command not found Ignoring /dev/sdg1 - already in /etc/fstab as UUID=
This drive is not present in fstab at all.

The first time I ran hda-diskmount, it seemed to mount fine, gave me the code to add to /etc/fstab which I did. I didn't check the drive was actually mounted though. Rebooted, and the drive was not mounted, so I removed it from fstab and ran hda-diskmount again. I'm guessing this is the root of my problem.

Following the recommendations in the link above:

cat /proc/mdstat:

Code: Select all

Personalities : unused devices: <none>
mdadm -zero-superblock /dev/sdg:

Code: Select all

mdadm: -z does not set the mode, and so cannot be the first option.
Can anybody please help? I've had no issue with the other 12 drives, and this particular drive has not been in this system before.

Re: Mounting second drive - blank uuid

Posted: Tue Mar 29, 2011 11:18 am
by Feanor
Any help would be much appreciated, if anyone can!

Re: Mounting second drive - blank uuid

Posted: Wed Mar 30, 2011 10:25 am
by Feanor
Just so people know, I have sorted it, although I don't know which bit worked.

I pulled the drive, connected it to a windows machine, changed the uuid with diskpart, formatted, put it back in the HDA, ran through the usual steps and this time it worked fine. YMMV.