Sunday, November 27, 2011

Unable to mount hard disk/Partition

Yesterday I faced a strange issue, after rebooting the server I noticed that our back drives did not mount automatically. The fstab entries were proper but still the device did not mount. I tried manually

# mount /dev/sdb1 /backup

unable to mount /dev/sdb1 /backup busy or already mounted.

Googled a lot but did not find any fix, checked if the raid setup was causing the issue since we had raid setup sometime back ( although it was not in use )

Did the following to fix this ( try as a last attempt if no other method works :D )


root@server [~]# dmsetup ls 
ddf1_4035305a0590430220202020202020201d9400003a354a45   (253, 2) 
VolGroup00-swap (253, 1) 
VolGroup00-root (253, 0) 
root@server [~]# dmsetup remove ddf1_4035305a0590430220202020202020201d9400003a354a45 
root@server [~]# dmsetup ls 
VolGroup00-swap (253, 1) 
VolGroup00-root (253, 0) 
root@server [~]# mount /dev/sdb1 /backup 


root@server [~]# df -h


/dev/sdb1             276G  223G   39G  86% /backup 




Hope this helps :)