read-only disk

tincboy

Renowned Member
Apr 13, 2010
466
6
83
I've server which has two HDD, one for Proxmox as OS, and the other for VMs,
Today I've notified that the primary HDD is read only and I can't even write an empty file on it,
in the /var/log/messages I can see that the last log records are for about a week ago,

Any one familiar with this kind of issue? As this server is hosting about 10 vms, I didn't reboot it yet, Do you think rebooting it may fix this issue?
 
Hello,
I think this is not a problem with proxmox ...
what show df -h? what mount?
what happens if you doing: mount -o remount, rw ?
EDIT:
also have a look in your /etc/fstab is there "errors=remount-ro" on the filesystem you mean?
Then you have - or better your disk have a problem ... => fsck ?
 
Last edited:
it's the output of the mount:
/dev/mapper/pve-root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
 
it's the output of the mount:
/dev/mapper/pve-root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
Hi,
and what's about "df -h" like maxprox asks for? Meaning: is your disk full??

Udo
 
Hi,
and what's about "df -h" like maxprox asks for? Meaning: is your disk full??

Udo
No it's not full, it's df -h output:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/pve-root 95G 8.8G 81G 10% /
tmpfs 3.9G 0 3.9G 0% /lib/init/rw
udev 10M 776K 9.3M 8% /dev
tmpfs 3.9G 4.0K 3.9G 1% /dev/shm
/dev/mapper/pve-data 353G 86G 267G 25% /var/lib/vz
/dev/sda1 504M 57M 422M 12% /boot