repair mounted drive

Asked by russell

i want to check a mounted drive for errors,how do i unmount & check ubuntu 11.10

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-disk-utility Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

sudo umount /path/to/mountpoint/or/device
sudo fsck /dev/PARTITION

your partition listing can be obtained either using gparted, or by the command line with
sudo fdisk -l

(thats a dash-lowercase-ell).

your mount locations can be seen with

mount

Revision history for this message
mycae (mycae) said :
#2

note that you can't unmount an in-use fileystem, such as the root filesystem, or your home dir if you are logged in.

Revision history for this message
delance (olivier-delance) said :
#3

If you want to check a system partition (which is the most probable case), boot on Ubuntu CD and choose "Try" instead of "Install". Then open a terminal and run fsck /dev/sda1 . You could also use Disk Utilities or Gparted in System->Administration menu.

Can you help with this problem?

Provide an answer of your own, or ask russell for more information if necessary.

To post a message you must log in.