Re: File system goes read-only once in a while

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Mufit Eribol wrote:
I think I found the culprit albeit I still don't know how to fix.

1. During boot the screen prints the following errors
"no fstab.sys, mounting internal defaults
...
No devices found
Setting up Logical Volume Management: /var/lock: mkdir failed: No such file or directory"

I have a LV on RAID mounted as /mnt/raid. Then /mnt/raid/var is symlinked to /var.

I was afraid you were going to say that.


Go back to single user mode.

mkdir /new_var
cd /mnt/raid/var
tar cf - . | ( cd /new_var ; tar xvf - )

Make sure both dirs look the same.

Change the link to /new_var. Or remove the old link & mv /new_var /var.

reboot.


--
Toby Bluhm
Alltech Medical Systems America, Inc.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux