hard drive information with command line
what are some commands i can use to determine the amount of free space on my hard disks, as well as what file system they use? and what about a command i can use to check their integrity? every time i use fsck it fusses at me about running it on a mounted drive. how else am i supposed to run it if i've only got 1 drive on that computer? floppy?
|
use the command `df` and `df -h` for human-readable output. You can cat /etc/fstab to see what your disks are using or run
dmesg | grep hd | grep FS Are you receiving errors about the disk? |
i'm not receiving any errors, i just figured it'd be useful to know how to check my disks for errors
|
Your logs may have some information. Also, grep for "error"
dmesg | grep error request_module: failed /sbin/modprobe -- parport_lowlevel. error = -16 request_module: failed /sbin/modprobe -- snd-card-0. error = -16 hdc: command error: status=0x51 { DriveReady SeekComplete Error } hdc: command error: error=0x54 end_request: I/O error, dev hdc, sector 64 -llamakc |
All times are GMT -5. The time now is 02:50 AM. |