LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 02-05-2004, 09:40 PM   #1
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Rep: Reputation: 56
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?
 
Old 02-05-2004, 10:06 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
Old 02-06-2004, 04:47 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
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.
 
Old 02-06-2004, 10:56 AM   #4
browny_amiga
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: Reputation: 56
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.
 
Old 02-06-2004, 11:33 AM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba mounted drive to read-only (???) JordanH Linux - Software 0 07-31-2004 10:27 PM
root fs is mounted read only after adding new drive PPaladin Linux - Hardware 0 03-02-2004 11:25 AM
Can't read mounted drive mabarnes Linux - Newbie 4 12-19-2003 11:36 PM
Mounted drive read-only! MultiMike Linux - Newbie 8 06-09-2003 05:21 PM
why is my mounted drive read only? nyroc Linux - General 2 01-18-2003 07:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration