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.
|
 |
09-05-2013, 02:36 AM
|
#1
|
Senior Member
Registered: Apr 2010
Posts: 2,290
|
Linux Fdisk Listing
hi guys, if i have this output below when I type fdisk -l
basically it means that there are two hard drive on my system each around 80GB?
Thanks.
root@xoom:/home/xrxs# fdisk -l
Disk /dev/sda: 73.4 GB, 73406611456 bytes
128 heads, 32 sectors/track, 35003 cylinders
Units = cylinders of 4096 * 512 = 2097152 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 2049 4196336 82 Linux swap / Solaris
/dev/sda2 * 2050 2306 526336 83 Linux
/dev/sda3 2307 35003 66963456 83 Linux
Disk /dev/sdb: 73.4 GB, 73406611456 bytes
128 heads, 32 sectors/track, 35003 cylinders
Units = cylinders of 4096 * 512 = 2097152 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 2049 4196336 82 Linux swap / Solaris
/dev/sdb2 2050 35003 67489792 83 Linux
|
|
|
09-05-2013, 02:39 AM
|
#2
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
Quote:
Originally Posted by JJJCR
hi guys, if i have this output below when I type fdisk -l
basically it means that there are two hard drive on my system each around 80GB?
|
Yep, you have 2 identical sized disks (both +/- 73 Gb)
One disk (sda) has 3 partitions, the other (sdb) has 2 partitions.
|
|
|
09-05-2013, 03:04 AM
|
#3
|
Senior Member
Registered: Apr 2010
Posts: 2,290
Original Poster
|
Quote:
Originally Posted by druuna
Yep, you have 2 identical sized disks (both +/- 73 Gb)
One disk (sda) has 3 partitions, the other (sdb) has 2 partitions.
|
Thank you so much for your confirmation.
So basically, if I will clone this server and I will restore it to a hard disk with a single hard drive. It will not be restored properly right?
Or I will just put the question in this way, If I will clone this server with two hard drive and the machine in which I want to restore back it should also have two hard drive right? in order to work or make the restoration successful.
Thanks again for any input.
|
|
|
09-05-2013, 03:13 AM
|
#4
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
Quote:
Originally Posted by JJJCR
Thank you so much for your confirmation.
So basically, if I will clone this server and I will restore it to a hard disk with a single hard drive. It will not be restored properly right?
Or I will just put the question in this way, If I will clone this server with two hard drive and the machine in which I want to restore back it should also have two hard drive right? in order to work or make the restoration successful.
Thanks again for any input.
|
Yes, I said cautiously.
In general you need to have the same setup (or larger) as the machine that is cloned. But this might depend on the cloning technique that is used.
|
|
|
09-05-2013, 03:26 AM
|
#5
|
Senior Member
Registered: Apr 2010
Posts: 2,290
Original Poster
|
hi druuna, I used Clonezilla to clone the server (with 2 hard drives) but the PC I restore the image has enough space.
Server - has 160GB (approximately)
PC - has 500GB
So how would I configure the OS, because right now it has /dev/sda and /dev/sdb.
Since the PC has only one hard drive, what should I do to successfully restore the image?
Thank you.
|
|
|
09-05-2013, 03:35 AM
|
#6
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
A lot depends on how it is set up.
In theory you should be able to move to a different disk configuration and just adjust bootloader and the mounts in /etc/fstab to suit, and be good to go.
|
|
|
09-05-2013, 04:10 AM
|
#7
|
Senior Member
Registered: Apr 2010
Posts: 2,290
Original Poster
|
hi guys, just for update.
Only one drive on the PC, Clonezilla prompts to restore SDA only.
I added another drive on the PC, Clonezilla prompts another option which is SDB.
So I guess cross fingers, all will be restored properly.
Clonezilla Rocks!!
LinuxQuestions.org.. Rocks More!!!
Thank you guys for all the help.. Will share the update for others who might have same issue. 
|
|
|
09-09-2013, 10:52 PM
|
#8
|
Senior Member
Registered: Apr 2010
Posts: 2,290
Original Poster
|
i add another drive and all was restored. so it has to be the same hardware config with the clone one to restore everything.
|
|
|
09-10-2013, 01:21 AM
|
#9
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
Well only because you have cloned the whole disk as one image.
You could also loop mount the drive images and extract the partitions all onto one drive if you wanted.
Don't know if there is any interface options in clonezilla to do this though.
|
|
|
09-11-2013, 08:29 PM
|
#10
|
Senior Member
Registered: Apr 2010
Posts: 2,290
Original Poster
|
Well there could be an options in Clonezilla to select and extract which drive images to be restored but I just don't know how to use it. 
|
|
|
All times are GMT -5. The time now is 11: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
|
|