Find the answer to your Linux question:
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, ...
  1. #1
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493

    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

  2. #2
    Linux Guru Rubberman's Avatar
    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!

  3. #3
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    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

  4. #4
    Linux Guru Rubberman's Avatar
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...