LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
Search this Thread
Old 02-02-2010, 01:59 PM   #16
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176

Quote:
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, 07:13 AM   #17
DrCR
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware14, VectorLinux5.9SOHO
Posts: 21

Rep: Reputation: 0
Quote:
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, 03:03 PM   #18
lamrhd
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Super Helpful

This is super helpful. Thanks!
 
Old 03-30-2010, 04:05 AM   #19
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 172
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, 09:06 PM   #20
HolyJoe
LQ Newbie
 
Registered: Feb 2008
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Very nice!

Very nice!

Thank you!
 
Old 09-24-2010, 09:04 AM   #21
Lookingforanswers
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, 08:46 AM   #22
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Rep: Reputation: 20
great article about dd, helped me alot. much appreciated
 
  


Reply

Tags
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 05:54 AM
Fedora 3 fogets eveything Ian_Hawdon Linux - Software 6 05-18-2005 04:36 PM
Discussion LinuxRam General 5 08-24-2004 06:58 AM
Discussion: Why use C/C++? Strike Programming 106 08-21-2004 02:09 AM
Serious Discussion nbjayme Linux - Newbie 2 09-24-2003 10:49 AM


All times are GMT -5. The time now is 02:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration