Results 1 to 4 of 4
I went to single user mode to create backup using the dump command. As mentioned in the guide backup can only be made of umounted partition or read only partitions, ...
- 07-17-2009 #1
why '/' ,"/usr/" and "/var" cant be umounted
I went to single user mode to create backup using the dump command. As mentioned in the guide backup can only be made of umounted partition or read only partitions, I tried umounting /usr and /var and / . But was interrupted with device busy error. Though the problem can be solved by remounting the system with readonly , I wonder why we cant unmount it??
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 07-18-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Besides the fact that /usr and /var are usually found on /, so trying to unmount one will unmount all, it just so happens that /, /usr, and /var are required for the system to function at all. As you found, you can either remount them read-only, or alternatively you can boot with a rescue/live CD/DVD/USB drive and backup that way since the system drives would be unmounted.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-18-2009 #3
in my case / and /usr and /var are different partitions, I forgot to mention it
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 07-18-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Well, it's like I said; /usr and /var are needed to run the system, at least in read-only mode. Myself, I usually boot a rescue CD and backup stuff that way so I am certain that all the files are closed and the system is in a "passive" state since the rescue system runs out of ram disc or off of the CD.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote