Find the answer to your Linux question:
Results 1 to 9 of 9
Dear All, Could I know how to unmount all the file systems when my server shutdowns. I need to get an image of my server using a BMR software and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    160

    Question Shutdown The Server to Unmount All the File Systems


    Dear All,

    Could I know how to unmount all the file systems when my server shutdowns. I need to get an image of my server using a BMR software and when I shutdown my server using shutdown -P 0 , reboot and halt -p commands the software gives an error that i need to unmount all the file since those files are not properly unmounted and I need to run fdisk command A suggetion is greatly appreciated.

    Thanks

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    910
    If the system is shut down, then nothing is mounted.

  3. #3
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    I normally use
    Code:
    shutdown -h now
    when I want to shutdown a system. You could also try remounting filesystems read only for shutdown.

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by amithad View Post
    the software gives an error that i need to unmount all the file since those files are not properly unmounted and I need to run fdisk command
    what software is giving this error? this BMR software, or the OS itself?

    the "shutdown -h now" command (or the shutdown entry of any graphical desktop menu) should properly sync and unmount all filesystems.

    what are your server filesystem types?

  6. #5
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    160
    Quote Originally Posted by atreyu View Post
    what software is giving this error? this BMR software, or the OS itself?

    the "shutdown -h now" command (or the shutdown entry of any graphical desktop menu) should properly sync and unmount all filesystems.

    what are your server filesystem types?
    Dear All,

    Thanks for your infomation. Dear Atreyu, Im using Symantec Ghost software, and it gives the error, using ext4 file system. But I have plan to go for Clonzilla if it fails.

    Thanks

    Amitha

  7. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by amithad View Post
    Im using Symantec Ghost software, and it gives the error, using ext4 file system. But I have plan to go for Clonzilla if it fails.
    that totally would have been my suggestion! let us know if it solves the problem for you.

  8. #7
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    160

    Thumbs up

    Quote Originally Posted by atreyu View Post
    that totally would have been my suggestion! let us know if it solves the problem for you.
    Dear Atreyu,

    Tried Clonezilla but it is bit complex at that due to my partition structure it backs up only sda1 not sda2 and sda3 etc. for the image.I think rather than image, disk to disk cloning might work fine for Clonezilla. Finally I went for Redo Backup and Recovery softwareRedo Backup Bare Metal Restore Solution GUI Backup Open Source GPL Recovery. I got the backup of 160 GB HDD in 7 minutes. It's simple. I haven't restore the image hope it will work fine

    Many thanks...!!

    Amitha

  9. #8
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by amithad View Post
    Tried Clonezilla but it is bit complex at that due to my partition structure it backs up only sda1 not sda2 and sda3 etc. for the image.I think rather than image, disk to disk cloning might work fine for Clonezilla.
    Sry to hear that you had trouble w/Clonezilla. I agree that the user interface is not its greatest strength.

    Finally I went for Redo Backup and Recovery softwareRedo Backup Bare Metal Restore Solution GUI Backup Open Source GPL Recovery.
    Okay, never heard of that one before...cool! I just read about it, and is basically an Ubuntu Live CD with parted and Perl scripts and a GTK2 interface, i.e., all open source! I'll definitely be putting this one on my list, thanks.

  10. #9
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,677
    You can unmount all file systems in /etc/fstab with the "umount -a" command. Only /proc will not be unmounted. See the umount man page for details.
    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
  •