[FC15] OMG, HELP! hard disk errors on LVM root disk!
September 03rd, 2011 - 05:13 pm ET by Ohmster | Report spam
Please, I am freaking out and need your help really bad. I need to boot
to a rescue disk, then run a disk check and repair, answer yes to all
questions, and get disk fixed. I need this help like right now, cannot
work until fixe. Please help.
I keep my FC15 box running all the time, it functions as a server. Today
I am doing some web work, have samba shares setup to map as drives in
Windows 7.
I looked in "Computer" on Windows 7 explorer, shows all my drives and how
full they are. Also shows mapped drives, same info. Win7 shows near full
or full disk with a red scale instead of the pleasant blue scale. I deal
with this when my backup USB drive gets too full, I delete older backups
to make room on this 1Tb USB external hard drive.
Now all of a sudden, I have issues on my Linux system. The only thing I
did recently was to enable selinux as permissive, allowed it to relable
the files at boot. All is well. Turned off selinux again, relabled files
and directories again at boot, no issues.
Now I get 100% full readings on some serious samba shares and if I try
to run webmin, it starts, but I get this message when trying to view
anything on webmin, like apache, or samba, or anything!
"Failed to write to /etc/webmin/apache/site when closing : No space left
on device"
Oh crap! This is a 500Gb Sata drive with PCI SATA controler and is in no
way full. I have 3 hard disks on this machine. The 500Gb SATA drive for
Linux system. The 200 and 400Gb drives are IDE and just for extra space.
Disk Utility shows the SATA Host Adapter and under it, the 500Gb WD
drive. Connection: ATA.
SMART Status: Disk has a few bad sectors.
There was a command I could use to fix disk errors on Linux, had to boot
to a rescue CD, not mount root drive, then run a command with a -y to
answer yes to all error fix prompts, and it would run and fix the drive.
Right now it is telling me my / filesystem is 100% full and it is nowhere
near full.
I forget if it was fdisk or whatever it was with a -y and had to specify
drive, i.e.: /dev/sda1 and it would run and I could reboot. This usually
happened when the machine could not even boot. Kernel panic, dropping to
a repair shell. I do not thing my machine will reboot if I try.
Here is my disk free results.
[root@foobar-domain comp]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 50G 50G 0 100% /
udev 495M 0 495M 0% /dev
tmpfs 502M 316K 502M 1% /dev/shm
tmpfs 502M 796K 501M 1% /run
/dev/mapper/vg_foobar-domain-lv_root
50G 50G 0 100% /
tmpfs 502M 0 502M 0% /sys/fs/cgroup
tmpfs 502M 796K 501M 1% /var/run
tmpfs 502M 796K 501M 1% /var/lock
tmpfs 502M 0 502M 0% /media
/dev/sdb1 367G 89G 261G 26% /mnt/200_Disk
/dev/sda1 485M 88M 373M 19% /mnt/400_Disk
/dev/sda1 485M 88M 373M 19% /boot
/dev/mapper/vg_foobar-domain-lv_home
405G 144G 242G 38% /home
[root@foobar-domain comp]#
1.) What is the disk repair command when disk is not mounted, check and
repair filesystem.
2.) Can this be used on an LVM drive?
Thank you, thank you.
~Ohmster | ohmster59 /a/t/ gmail dot com
to a rescue disk, then run a disk check and repair, answer yes to all
questions, and get disk fixed. I need this help like right now, cannot
work until fixe. Please help.
I keep my FC15 box running all the time, it functions as a server. Today
I am doing some web work, have samba shares setup to map as drives in
Windows 7.
I looked in "Computer" on Windows 7 explorer, shows all my drives and how
full they are. Also shows mapped drives, same info. Win7 shows near full
or full disk with a red scale instead of the pleasant blue scale. I deal
with this when my backup USB drive gets too full, I delete older backups
to make room on this 1Tb USB external hard drive.
Now all of a sudden, I have issues on my Linux system. The only thing I
did recently was to enable selinux as permissive, allowed it to relable
the files at boot. All is well. Turned off selinux again, relabled files
and directories again at boot, no issues.
Now I get 100% full readings on some serious samba shares and if I try
to run webmin, it starts, but I get this message when trying to view
anything on webmin, like apache, or samba, or anything!
"Failed to write to /etc/webmin/apache/site when closing : No space left
on device"
Oh crap! This is a 500Gb Sata drive with PCI SATA controler and is in no
way full. I have 3 hard disks on this machine. The 500Gb SATA drive for
Linux system. The 200 and 400Gb drives are IDE and just for extra space.
Disk Utility shows the SATA Host Adapter and under it, the 500Gb WD
drive. Connection: ATA.
SMART Status: Disk has a few bad sectors.
There was a command I could use to fix disk errors on Linux, had to boot
to a rescue CD, not mount root drive, then run a command with a -y to
answer yes to all error fix prompts, and it would run and fix the drive.
Right now it is telling me my / filesystem is 100% full and it is nowhere
near full.
I forget if it was fdisk or whatever it was with a -y and had to specify
drive, i.e.: /dev/sda1 and it would run and I could reboot. This usually
happened when the machine could not even boot. Kernel panic, dropping to
a repair shell. I do not thing my machine will reboot if I try.
Here is my disk free results.
[root@foobar-domain comp]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 50G 50G 0 100% /
udev 495M 0 495M 0% /dev
tmpfs 502M 316K 502M 1% /dev/shm
tmpfs 502M 796K 501M 1% /run
/dev/mapper/vg_foobar-domain-lv_root
50G 50G 0 100% /
tmpfs 502M 0 502M 0% /sys/fs/cgroup
tmpfs 502M 796K 501M 1% /var/run
tmpfs 502M 796K 501M 1% /var/lock
tmpfs 502M 0 502M 0% /media
/dev/sdb1 367G 89G 261G 26% /mnt/200_Disk
/dev/sda1 485M 88M 373M 19% /mnt/400_Disk
/dev/sda1 485M 88M 373M 19% /boot
/dev/mapper/vg_foobar-domain-lv_home
405G 144G 242G 38% /home
[root@foobar-domain comp]#
1.) What is the disk repair command when disk is not mounted, check and
repair filesystem.
2.) Can this be used on an LVM drive?
Thank you, thank you.
~Ohmster | ohmster59 /a/t/ gmail dot com
Similar topics
- Need help recovering hard drive
- Need help recovering hard drive
- Need help recovering hard drive
- Re: Need help recovering hard drive
Make your own search :
Tags
Create a new topic
Follow the discussion
9 replies
Make a reply
May 25th, 2013 - 5:27 AM ET
Join now


Replies