Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-05-2004, 09:40 PM
|
#1
|
Member
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684
Rep:
|
Why partimage cannot read a mounted drive?
I looked and found no answer so far. They everywhere tell you "...you must not...", but nobody says WHY?
I have a server that I would prefer to stay up, no rebooting and booting (like windows) with knoppix and parted to do a complete backup over the net.
So, what will happen if I do a partimage without unmounting a partition?
Is there another backup tool that would backup one partition to another machine over the network, without restarting the machine every time?
Any way I can remount the root partition read only for the time it takes to take the backup?
|
|
|
02-05-2004, 10:06 PM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
I would imagine you can't do it on a partition mounted read/write because it would be possible for data to be written/changed while it is making the image, and that wouldn't work so well. You could end up with all sorts of file corruption.
You can, however, rsync your important data onto another computer. Now this doesn't provide quite the same level of back, because you wouldn't just be able to restore the entire partition like you can with partimage, but at least you'd still have your data.
Last edited by jtshaw; 02-05-2004 at 10:12 PM.
|
|
|
02-06-2004, 04:47 AM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Re: Why partimage cannot read a mounted drive?
Quote:
Originally posted by browny_amiga
... Any way I can remount the root partition read only for the time it takes to take the backup?
|
Code:
sync
mount -n -o remount,ro /
... if I remember correctly (else man mount ).
Will work only in the case, that you have no processes which want to write (logs etc.) to the disk.
|
|
|
02-06-2004, 10:56 AM
|
#4
|
Member
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684
Original Poster
Rep:
|
Hmm, can I do it (remount ro) or will it not let me?
I would not mind some log processes scream hell at me while I steal away the backup.
Well, anyway, thanks for the pointers. I will look into the rsync.
|
|
|
02-06-2004, 11:33 AM
|
#5
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
You aren't going to remount your root partition unless you can basically shut down all services. If this is a mission critical system something else you might want to look at is a Mirrored raid array. Linux provides good software raid tools so you don't have to purchase a raid adapter. It also has drivers for 3wares IDE raid adapters which I like a lot. They allow you to setup a hardware based raid array without breaking the bank.
|
|
|
All times are GMT -5. The time now is 04:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|