Featured post

Quiz: Data PreProcessing

Sunday, 29 May 2016

Redhat 6.7: file system in read only mode

Issue: due to issue on storage the file system went into ro mode. Try remounting the file system.

#cat /proc/mounts | grep ro
/dev/mapper/hostname_vg-lv_app_mcafee /app/mcafee ext4 ro,nosuid,nodev,relatime,barrier=1,data=ordered 0 0

Solution 1:
# mount -o remount,rw /app/mcafee
mount: cannot remount block device /dev/mapper/hostname_vg-lv_app_mcafee read-write, is write-protected

Solution 2: If first one is giving above error, follow this one.

a> Go to single user mode and run fsck

b> fsck /app/mcafee abd reboot


No comments:

Post a Comment