PDA

View Full Version : DomU comes up with resierfs filesystem read only



lelle
02-May-2014, 15:29
Hi all,

One of our servers comes up with its / read only.
I think I can fix that by doing reiserfsck on it, but I seem unable to umount / and check it and since its read only I cant force it to check on reboot.
So I need to know if there is a way to send extra information at boot or if I can force the domU to boot without mounting root.
Or if somebody have any other suggestions.

Best regards

/Lennart

Rickb
02-May-2014, 20:57
lelle wrote:

>
> Hi all,
>
> One of our servers comes up with its / read only.
> I think I can fix that by doing reiserfsck on it, but I seem unable to
> umount / and check it and since its read only I cant force it to check
> on reboot.
> So I need to know if there is a way to send extra information at boot or
> if I can force the domU to boot without mounting root.
> Or if somebody have any other suggestions.
>
> Best regards
>
> /Lennart
>
>

Is this on xen and how is the domu disks seen by dom0? What I mean are your
vm's on a san? What are you using for the domu disks? Are you using off ocfs
or physical disks assigned to domu?

lelle
02-May-2014, 22:52
Hi, sorry for the lack of information. It's om xen and the wm are raw disk in a san.
the dom0 is seeing the disk by there scsi id.

/Lennart

Rickb
03-May-2014, 13:04
lelle wrote:

>
> Hi, sorry for the lack of information. It's om xen and the wm are raw
> disk in a san.
> the dom0 is seeing the disk by there scsi id.
>
> /Lennart
>
>

Ok than you can repair the disk using the dom0 fsck. Make sure the vm is
shutdown and than from the command line on dom0 run fsck -options /dev/sd?
where dev/sdx is the disk for the vm. It may need to be /dev/sd?1 or 2 since
it is a vm. I have recovered several times this way. Using raw disks is a
lot easier than if it is file-backed disk. That one is a little more
complicated. This should fix you up.

lelle
03-May-2014, 23:51
thanks a lot, worked great

/Lennart