LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-09-2011, 09:42 AM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
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
 
Old 03-09-2011, 09:44 AM   #2
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Code:
# umount /dev/md1
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.
Old 03-09-2011, 09:46 AM   #3
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
With the umount command.

See: man umount
 
Old 03-09-2011, 09:48 AM   #4
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
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?
 
Old 03-09-2011, 09:58 AM   #5
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
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
Code:
# mount WHAT WHERE
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.
Old 03-09-2011, 10:07 AM   #6
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
many thanks Mr. Alex.
 
Old 03-09-2011, 10:22 AM   #7
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
figures, it won't let me unmount it because it's "busy"
 
Old 03-09-2011, 11:07 AM   #8
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
http://ocaoimh.ie/how-to-umount-when...evice-is-busy/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
unmounting all nfs filesystems without unmounting local ones kaplan71 Linux - General 1 03-05-2009 11:00 AM
USB HD -- must keep remounting ErrorBound Linux - Hardware 2 05-09-2006 12:02 AM
remounting hda? KenHorse Linux - Software 2 12-31-2004 09:35 AM
remounting home Dasc Linux - General 3 08-14-2004 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration