Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-09-2011, 09:42 AM
|
#1
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Rep:
|
unmounting and remounting a volume
I have a volume that shows as the following when I do a df -h. How would I go about unmounting it so I can run an e2fsck on it, then remounting it? normally it mounts when the server starts, so i'm not sure how to manually do it.
/dev/md1 807G 631G 136G 83% /data
|
|
|
03-09-2011, 09:44 AM
|
#2
|
Senior Member
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238
Rep: 
|
Post your /etc/fstab here between CODE tags.
Last edited by Mr. Alex; 03-09-2011 at 09:45 AM.
|
|
1 members found this post helpful.
|
03-09-2011, 09:46 AM
|
#3
|
Senior Member
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690
|
With the umount command.
See: man umount
|
|
|
03-09-2011, 09:48 AM
|
#4
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
Code:
/dev/md1 /data ext2 defaults 1 2
---------- Post added 03-09-11 at 10:49 AM ----------
Thanks, so i just mount it with mount /dev/md1 then too?
|
|
|
03-09-2011, 09:58 AM
|
#5
|
Senior Member
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238
Rep: 
|
Quote:
Thanks, so i just mount it with mount /dev/md1 then too?
|
Since it's in fstab - yes. If it wasn't, you should've mounted it as
http://www.tuxfiles.org/linuxhelp/mounting.html
Last edited by Mr. Alex; 03-09-2011 at 10:01 AM.
Reason: adding link
|
|
1 members found this post helpful.
|
03-09-2011, 10:07 AM
|
#6
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
many thanks Mr. Alex.
|
|
|
03-09-2011, 10:22 AM
|
#7
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Original Poster
Rep:
|
figures, it won't let me unmount it because it's "busy"
|
|
|
03-09-2011, 11:07 AM
|
#8
|
Senior Member
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238
Rep: 
|
|
|
|
All times are GMT -5. The time now is 09:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|