[root@zetawiki ~]# fdisk -l
Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00050f39
Device Boot Start End Blocks Id System
/dev/sda1 * 1 39 307200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 39 2358 18631680 83 Linux
/dev/sda3 2358 2611 2031616 82 Linux swap / Solaris
[root@zetawiki ~]# fsck /dev/sda1
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/sda1 is mounted.
WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.
Do you really want to continue (y/n)? yes
/dev/sda1: recovering journal
/dev/sda1: clean, 38/76912 files, 42806/307200 blocks
[root@zetawiki ~]# fsck
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/dev/VolGroup00/LogVol00: recovering journal
Clearing orphaned inode 1962250 (uid=0, gid=0, mode=0100600, size=130)
Clearing orphaned inode 1962247 (uid=27, gid=27, mode=0100600, size=0)
Clearing orphaned inode 1962246 (uid=27, gid=27, mode=0100600, size=0)
Clearing orphaned inode 1962245 (uid=27, gid=27, mode=0100600, size=0)
Clearing orphaned inode 1962244 (uid=27, gid=27, mode=0100600, size=0)
Clearing orphaned inode 1962243 (uid=27, gid=27, mode=0100600, size=0)
/dev/VolGroup00/LogVol00: clean, 140202/9451456 files, 2342044/9445376 blocks
e2fsck 1.39 (29-May-2006)
/dev/vda1 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? yes
/boot: recovering journal
/boot: clean, 47/26104 files, 30099/104388 blocks