Skip to main content
Bumped by Community user
formatted for readability
Source Link
telcoM
  • 114.1k
  • 4
  • 163
  • 311

I have a VM with an LVM. Occasionally when updates are performed, and the system has restarted it will go into a read-only state. This is an issue because I perform daily backups. Unfortunately, for me, I have been assigned to fix this issue since our sysadmin is on leave. I have a snapshot folder that backs up every day that is now read-only. I run the following command: [root@aetest /]# mount -o remount /snapshots

[root@aetest /]# mount -o remount /snapshots

After doing this nothing happens. no error, loading, or any indication it worked. I then move over to the snapshot folder and type the following: [root@aetest /]# touch mytest.dat and

[root@aetest /]# touch mytest.dat

and I get this: touch: cannot touch "mytest.dat": Read-only file system

touch: cannot touch "mytest.dat": Read-only file system

dmesg | tail [ 7.148297] virbr0: port 1(virbr0-nic) entered listening state [ 7.148369] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready [ 7.228501] virbr0: port 1(virbr0-nic) entered disabled state [50301439.170135] hrtimer: interrupt took 10774359 ns [74288100.971099] fuse init (API version 7.22) [74288166.623204] TCP: lp registered [83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [110561538.237685] blk_update_request: I/O error, dev fd0, sector 0 [110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

dmesg | tail 
[    7.148297] virbr0: port 1(virbr0-nic) entered listening state
[    7.148369] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[    7.228501] virbr0: port 1(virbr0-nic) entered disabled state
[50301439.170135] hrtimer: interrupt took 10774359 ns
[74288100.971099] fuse init (API version 7.22)
[74288166.623204] TCP: lp registered
[83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting...
[83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting...
[110561538.237685] blk_update_request: I/O error, dev fd0, sector 0
[110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

/dev/mapper/rhel-root / xfs defaults 1 1 UUID=b45d9891-8384-4f1b-9deb-ee885707fc24 /boot xfs defaults 1 2 /dev/mapper/rhel-swap swap swap defaults 0 0 10.3.193.14:/prod_backups/q_uc4test_snapshots /snapshots nfs ro,defaults 0 0 //SNAP2/UC4BDM /opt/agent_library/finaid/snap2_uc4bdm cifs defaults,credentials=/etc/cifs.d/uc4finaid 0 0 //SNAP2/AdmAcct /opt/agent_library/finaid/snap2_admacct cifs defaults,credentials=/etc/cifs.d/uc4finaid 0 0

[50301439.170135] hrtimer: interrupt took 10774359 ns [74288100.971099] fuse init (API version 7.22) [74288166.623204] TCP: lp registered [83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [110561538.237685] blk_update_request: I/O error, dev fd0, sector 0 [110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

/dev/mapper/rhel-root   /  xfs     defaults        1 1
UUID=b45d9891-8384-4f1b-9deb-ee885707fc24 /boot   xfs     defaults        1 2
/dev/mapper/rhel-swap   swap     swap    defaults        0 0
10.3.193.14:/prod_backups/q_uc4test_snapshots    /snapshots    nfs    ro,defaults    0 0
//SNAP2/UC4BDM  /opt/agent_library/finaid/snap2_uc4bdm  cifs    defaults,credentials=/etc/cifs.d/uc4finaid      0 0
//SNAP2/AdmAcct  /opt/agent_library/finaid/snap2_admacct  cifs    defaults,credentials=/etc/cifs.d/uc4finaid      0 0

[50301439.170135] hrtimer: interrupt took 10774359 ns
[74288100.971099] fuse init (API version 7.22)
[74288166.623204] TCP: lp registered
[83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting...
[83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting...
[110561538.237685] blk_update_request: I/O error, dev fd0, sector 0
[110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

I have a VM with an LVM. Occasionally when updates are performed, and the system has restarted it will go into a read-only state. This is an issue because I perform daily backups. Unfortunately, for me, I have been assigned to fix this issue since our sysadmin is on leave. I have a snapshot folder that backs up every day that is now read-only. I run the following command: [root@aetest /]# mount -o remount /snapshots

After doing this nothing happens. no error, loading, or any indication it worked. I then move over to the snapshot folder and type the following: [root@aetest /]# touch mytest.dat and I get this: touch: cannot touch "mytest.dat": Read-only file system

dmesg | tail [ 7.148297] virbr0: port 1(virbr0-nic) entered listening state [ 7.148369] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready [ 7.228501] virbr0: port 1(virbr0-nic) entered disabled state [50301439.170135] hrtimer: interrupt took 10774359 ns [74288100.971099] fuse init (API version 7.22) [74288166.623204] TCP: lp registered [83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [110561538.237685] blk_update_request: I/O error, dev fd0, sector 0 [110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

/dev/mapper/rhel-root / xfs defaults 1 1 UUID=b45d9891-8384-4f1b-9deb-ee885707fc24 /boot xfs defaults 1 2 /dev/mapper/rhel-swap swap swap defaults 0 0 10.3.193.14:/prod_backups/q_uc4test_snapshots /snapshots nfs ro,defaults 0 0 //SNAP2/UC4BDM /opt/agent_library/finaid/snap2_uc4bdm cifs defaults,credentials=/etc/cifs.d/uc4finaid 0 0 //SNAP2/AdmAcct /opt/agent_library/finaid/snap2_admacct cifs defaults,credentials=/etc/cifs.d/uc4finaid 0 0

[50301439.170135] hrtimer: interrupt took 10774359 ns [74288100.971099] fuse init (API version 7.22) [74288166.623204] TCP: lp registered [83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [110561538.237685] blk_update_request: I/O error, dev fd0, sector 0 [110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

I have a VM with an LVM. Occasionally when updates are performed, and the system has restarted it will go into a read-only state. This is an issue because I perform daily backups. Unfortunately, for me, I have been assigned to fix this issue since our sysadmin is on leave. I have a snapshot folder that backs up every day that is now read-only. I run the following command:

[root@aetest /]# mount -o remount /snapshots

After doing this nothing happens. no error, loading, or any indication it worked. I then move over to the snapshot folder and type the following:

[root@aetest /]# touch mytest.dat

and I get this:

touch: cannot touch "mytest.dat": Read-only file system
dmesg | tail 
[    7.148297] virbr0: port 1(virbr0-nic) entered listening state
[    7.148369] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[    7.228501] virbr0: port 1(virbr0-nic) entered disabled state
[50301439.170135] hrtimer: interrupt took 10774359 ns
[74288100.971099] fuse init (API version 7.22)
[74288166.623204] TCP: lp registered
[83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting...
[83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting...
[110561538.237685] blk_update_request: I/O error, dev fd0, sector 0
[110561538.261675] blk_update_request: I/O error, dev fd0, sector 0
/dev/mapper/rhel-root   /  xfs     defaults        1 1
UUID=b45d9891-8384-4f1b-9deb-ee885707fc24 /boot   xfs     defaults        1 2
/dev/mapper/rhel-swap   swap     swap    defaults        0 0
10.3.193.14:/prod_backups/q_uc4test_snapshots    /snapshots    nfs    ro,defaults    0 0
//SNAP2/UC4BDM  /opt/agent_library/finaid/snap2_uc4bdm  cifs    defaults,credentials=/etc/cifs.d/uc4finaid      0 0
//SNAP2/AdmAcct  /opt/agent_library/finaid/snap2_admacct  cifs    defaults,credentials=/etc/cifs.d/uc4finaid      0 0

[50301439.170135] hrtimer: interrupt took 10774359 ns
[74288100.971099] fuse init (API version 7.22)
[74288166.623204] TCP: lp registered
[83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting...
[83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting...
[110561538.237685] blk_update_request: I/O error, dev fd0, sector 0
[110561538.261675] blk_update_request: I/O error, dev fd0, sector 0
Bumped by Community user
added 1781 characters in body
Source Link

dmesg | tail [ 7.148297] virbr0: port 1(virbr0-nic) entered listening state [ 7.148369] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready [ 7.228501] virbr0: port 1(virbr0-nic) entered disabled state [50301439.170135] hrtimer: interrupt took 10774359 ns [74288100.971099] fuse init (API version 7.22) [74288166.623204] TCP: lp registered [83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [110561538.237685] blk_update_request: I/O error, dev fd0, sector 0 [110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

What was located in the /etc/fstab is pasted below. I am not seeing anything wrong here..

/dev/mapper/rhel-root / xfs defaults 1 1 UUID=b45d9891-8384-4f1b-9deb-ee885707fc24 /boot xfs defaults 1 2 /dev/mapper/rhel-swap swap swap defaults 0 0 10.3.193.14:/prod_backups/q_uc4test_snapshots /snapshots nfs ro,defaults 0 0 //SNAP2/UC4BDM /opt/agent_library/finaid/snap2_uc4bdm cifs defaults,credentials=/etc/cifs.d/uc4finaid 0 0 //SNAP2/AdmAcct /opt/agent_library/finaid/snap2_admacct cifs defaults,credentials=/etc/cifs.d/uc4finaid 0 0

[50301439.170135] hrtimer: interrupt took 10774359 ns [74288100.971099] fuse init (API version 7.22) [74288166.623204] TCP: lp registered [83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [110561538.237685] blk_update_request: I/O error, dev fd0, sector 0 [110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

dmesg | tail [ 7.148297] virbr0: port 1(virbr0-nic) entered listening state [ 7.148369] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready [ 7.228501] virbr0: port 1(virbr0-nic) entered disabled state [50301439.170135] hrtimer: interrupt took 10774359 ns [74288100.971099] fuse init (API version 7.22) [74288166.623204] TCP: lp registered [83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [110561538.237685] blk_update_request: I/O error, dev fd0, sector 0 [110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

What was located in the /etc/fstab is pasted below. I am not seeing anything wrong here..

/dev/mapper/rhel-root / xfs defaults 1 1 UUID=b45d9891-8384-4f1b-9deb-ee885707fc24 /boot xfs defaults 1 2 /dev/mapper/rhel-swap swap swap defaults 0 0 10.3.193.14:/prod_backups/q_uc4test_snapshots /snapshots nfs ro,defaults 0 0 //SNAP2/UC4BDM /opt/agent_library/finaid/snap2_uc4bdm cifs defaults,credentials=/etc/cifs.d/uc4finaid 0 0 //SNAP2/AdmAcct /opt/agent_library/finaid/snap2_admacct cifs defaults,credentials=/etc/cifs.d/uc4finaid 0 0

[50301439.170135] hrtimer: interrupt took 10774359 ns [74288100.971099] fuse init (API version 7.22) [74288166.623204] TCP: lp registered [83201640.576424] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [83201641.343342] CIFS VFS: Server SNAP2 has not responded in 120 seconds. Reconnecting... [110561538.237685] blk_update_request: I/O error, dev fd0, sector 0 [110561538.261675] blk_update_request: I/O error, dev fd0, sector 0

Source Link

How to mount an LVM from Read-only to Read and Write

I have a VM with an LVM. Occasionally when updates are performed, and the system has restarted it will go into a read-only state. This is an issue because I perform daily backups. Unfortunately, for me, I have been assigned to fix this issue since our sysadmin is on leave. I have a snapshot folder that backs up every day that is now read-only. I run the following command: [root@aetest /]# mount -o remount /snapshots

After doing this nothing happens. no error, loading, or any indication it worked. I then move over to the snapshot folder and type the following: [root@aetest /]# touch mytest.dat and I get this: touch: cannot touch "mytest.dat": Read-only file system

Any ideas of what I can try? Lost here. thanks!