LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-04-2014, 05:17 PM   #1
edhe1
Member
 
Registered: Sep 2006
Posts: 115

Rep: Reputation: 0
restoring back-up onto a new and larger harddrive


I am using Debian Linux Squeeze. My 400G harddrive is presenting a lot of 'UNEXPECTED INCONSISTENCIES' across all partitions. (orphaned inodes mostly). Coupled with this there was screen freezing, and unusual 'unable to write' messages. This has happened several times. Each time a manual fsck fixed it.
The second time that it happened, in order to get a quick replacement I was only able locally to get a 2T harddrive.
I have a back up of the 400G drive. My question is, can I partition the 2T, with larger partitions;or do the partitions have to match what is on the 400G?
 
Old 06-04-2014, 05:43 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
How do you intend to do the restore? if you are doing a dd, just do the dd and then resize the partitions and the filesystem.

For example:
http://www.howtoforge.com/linux_resi...xt3_partitions
(adjust to match whatever filesystem you are using)
 
Old 06-04-2014, 05:46 PM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
you might need to reinstall grub after resize.
 
Old 06-04-2014, 05:48 PM   #4
edhe1
Member
 
Registered: Sep 2006
Posts: 115

Original Poster
Rep: Reputation: 0
I have a tar of each partition (/home /etc /local /var /mail /root etc..
I plan to extract each tar into its perspective location.
 
Old 06-04-2014, 08:27 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Make the partitions any size that suits - preferably not smaller than the originals ....
 
1 members found this post helpful.
Old 06-06-2014, 02:25 AM   #6
edhe1
Member
 
Registered: Sep 2006
Posts: 115

Original Poster
Rep: Reputation: 0
Thank You all.
 
  


Reply



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
How can I back up entire server to external harddrive bustin Linux - Server 8 09-12-2013 02:55 PM
restoring system back macy4_gb Linux - Newbie 10 02-17-2010 06:16 PM
Need help with restoring a Clonezilla image to larger partition EdgesofTwilight Linux - Newbie 7 01-03-2010 08:59 AM
How to make an image (back-up) for easily restoring tweaked operating system CharlieBucket Linux - Software 2 09-23-2007 04:32 PM
Need to replace full harddrive with new, larger harddrive pearlr Linux - Newbie 1 01-02-2004 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:35 AM.

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