I have installed a Debian. I
rsynced it. I load it on my client through PXE from NFS to make a backup. But I need my Computer(NFS-host) at the same time to make something other with it. For example, sometimes I like to use my Computer(host) in other room, so I do not like to leave it there.
When I disconnect it from NFS, the system freezes. The idea came across my mind that I will remount the root filesystem from USB and than will I disconnect from the server. I was thinking, I will use a USB stick, with same immutable (
/bin) files, and I will load all mutable devices/files (
/var) in memory.
What do you recommend?
proc /proc ramfs nodev,noexec.nosuid 0 0 none /tmp ramfs defaults 0 0 none /var/run ramfs defaults 0 0 none /var/lock ramfs defaults 0 0 none /var/tmp ramfs defaults 0 0 none /var/log ramfs defaults 0 0 /dev/nfs / nfs defaults 1 1
I changed the last line to:
/dev/sda1 / ext4 errors=remount-ro 0 0 mount -o -remount / /dev/sda1 on / type ext4 (ro,errors=remount-ro) [ 220.880314] EXT4-fs (sda1): mounted filesystem with ordered data mode
But the system is still hanging.If I pull back the cable then it's all right.