Linux-Noob Forums
How do I Mount /dev/hdb1 - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html)
+---- Thread: How do I Mount /dev/hdb1 (/thread-2184.html)



How do I Mount /dev/hdb1 - Navrax - 2006-02-04


I have a secondary hard drive hooked up to my computer with gentoo linux. I created a partition on it using fdisk and I have since then tried to mount /dev/hdb1 (secondary drive) To /srv (my folder for myy secondary hard drive)

 

Whenever I try and:

mount /dev/hdb1 /srv I get 'Mount: /dev/hdb1 already mounted or /srv busy

 

Whenever I try

mount /dev/hdb1 I get 'Mount: can't find /dev/hdb1 in /etc/fstab or /etc/mtab;

 

any help would be greatly appreciated




How do I Mount /dev/hdb1 - z0ny - 2006-02-04

Are you sure it's not already mounted? :) Type 'mount' to check. Or maybe the mount point is really busy. ;) If you leave the mount point in the command mount looks in the mentioned files to check whether mount points and options have been defined there.



How do I Mount /dev/hdb1 - znx - 2006-02-04


Quote:mount /dev/hdb1 /srv I get 'Mount: /dev/hdb1 already mounted or /srv busy
 

As z0ny suggested, check to ensure that /dev/hdb1 and /srv aren't already mounted somewhere, you can do this with:

 



Code:
fuser -c /dev/hdb1
fuser -c /srv




 

OR

 



Code:
mount | grep hdb1
mount | grep srv




 

If they return nothing, then you know that they are not mounted.

 

Make sure that you are not sitting in the directory with a shell/program as this can cause "busy" issues.




How do I Mount /dev/hdb1 - Navrax - 2006-02-05


Quote:<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentcommentid="7386" data-ipsquote-username="Navrax" data-cite="Navrax" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="2061" data-ipsquote-contentclass="forums_Topic"><div>mount /dev/hdb1 /srv I get 'Mount: /dev/hdb1 already mounted or /srv busy
 

As z0ny suggested, check to ensure that /dev/hdb1 and /srv aren't already mounted somewhere, you can do this with:

 



Code:
fuser -c /dev/hdb1
fuser -c /srv




 

OR

 



Code:
mount | grep hdb1
mount | grep srv




 

If they return nothing, then you know that they are not mounted.

 

Make sure that you are not sitting in the directory with a shell/program as this can cause "busy" issues.



</div></blockquote>
It worked! I made a file in nano and before it wouldn't work so now im assuming I have another ten gigs of space on my computer :)

Thanks guys.