Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.


  Search this Thread
Old 02-02-2010, 02:59 PM   #16
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195

Originally Posted by jasontn View Post
Is it safe to unmount the /var partition when the server is running? I normally schedule the copying in the middle of the night when there is no user accessing. It is only accessed by users in the same country.
No -- it would cause all sorts of grief. /var should only be unmounted in single user mode. Have you considered LVM snapshots?
Old 02-03-2010, 08:13 AM   #17
LQ Newbie
Registered: Aug 2006
Distribution: Slackware14, VectorLinux5.9SOHO
Posts: 21

Rep: Reputation: 0
Originally Posted by jasontn View Post
/dev/sdb7 was not mounted when copying was done. The server was idle hence little writing activity when copying. Not a single file, not even the index.html file was copied, from the www directory. I even tried placing other files there, which was also not copied.

I have done this before on live servers, running Debian Etch, flawlessly. It is only now that I'm doing this on Deban Lenny. I don't know if this problem is OS related. Unfortunately, I don't have another machine to reproduce this.
I'm afraid my knowledge of /var is insufficient. I'm going to have to read up on it as I have rssnapshot of my LennyNAS OS partition on my to-do list (only just rssnapshotting my storage partition right now).

catkin, could you elaborate in regard to LVM snapshots or provide some links?
Old 03-02-2010, 04:03 PM   #18
LQ Newbie
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Super Helpful

This is super helpful. Thanks!
Old 03-30-2010, 05:05 AM   #19
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 173
Blog Entries: 5

Rep: Reputation: 17
Nice job!

Now this is a very very nice guide to dd utility. Nice job!

Amazing, too, how so old a program proves to be of far more use, than are many of them modern GUI-based utilities. Really, I can see this problem in software development realm: developers create bunches of utilities with overlapping funcionality, while some very old ones are still of very much use.
For example, the almost universal usage of this dd utility, which is also very reliable in that you know 100% what the thing is doing for you, once you hit Enter...

So I find this guide to be very useful and educative. thanks to the author.
Old 08-12-2010, 10:06 PM   #20
LQ Newbie
Registered: Feb 2008
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Very nice!

Very nice!

Thank you!
Old 09-24-2010, 10:04 AM   #21
LQ Newbie
Registered: Jan 2010
Posts: 6

Rep: Reputation: 0
More features?

1. Is there a way to verify the integrity of a file created by dd? I would not want to find out there was a problem with a backup I made of my /home partition and find out that it was corrupted when I tried to restore it.

2. If I use conv=noerror won't that hide any error that might occur during the creation of the image and cause a problem when trying to restore the image?

3. Can you incrementally add to a previously created image file? It would be nice to be able to update a backup of my /home partition rather than making a whole new backup.

Thanks for a really good and complete tutorial on dd. The man page just doesn't do it for me.
Old 10-06-2011, 09:46 AM   #22
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Rep: Reputation: 20
great article about dd, helped me alot. much appreciated
Old 10-30-2015, 08:08 PM   #23
LQ Newbie
Registered: May 2015
Posts: 7
Blog Entries: 1

Rep: Reputation: Disabled
Talking Thx

Love it! wouldn't work around the DRM on CFS3 though. I just wanted to mount from a V-drive. Swapping out old PATAs for SATAs now.
Old 03-09-2017, 07:50 AM   #24
LQ Newbie
Registered: Feb 2017
Posts: 11

Rep: Reputation: Disabled
Just great!

This is the kind of public knowledge base we should build for all things Linux. Fast tracking noobs like me. This addresses the main issue with Linux, it's vast yet not difficult. It is; however; extremely time consuming to scratch for stuff on your own. Thanks, this is highly appreciated.


boot, dd, partitions

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Becoming Unplugged jeremy LinuxAnswers Discussion 3 02-14-2007 06:54 AM
Fedora 3 fogets eveything Ian_Hawdon Linux - Software 6 05-18-2005 05:36 PM
Discussion LinuxRam General 5 08-24-2004 07:58 AM
Discussion: Why use C/C++? Strike Programming 106 08-21-2004 03:09 AM
Serious Discussion nbjayme Linux - Newbie 2 09-24-2003 11:49 AM > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

All times are GMT -5. The time now is 03:56 AM.

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