LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2012, 02:58 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 486

Rep: Reputation: 36
partition got strange after clonezilla work


My box is scientific linux 6.2 x64.

I installed scientific linux 6.2 x64 on 30G hard disk, and migrated with clonezilla by disk-disk clone - I hoped the SL 6.2 moved to new 160G. At that procedure, I press enters only. After finishing cloning, removed source disk 30G, and succefully booted, but partitions are something different I hoped.

The disk state is this.

Quote:
[root@tesetbed etc]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_tesetbedr-lv_root
28G 6.2G 20G 24% /
tmpfs 499M 648K 498M 1% /dev/shm
/dev/sda1 485M 54M 406M 12% /boot
K_DRIVE 663G 536G 128G 81% /media/sf_K_DRIVE
[root@tesetbed etc]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003efaa

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 3917 30944256 8e Linux LVM

Disk /dev/mapper/vg_tesetbedr-lv_root: 29.6 GB, 29569843200 bytes
255 heads, 63 sectors/track, 3594 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_tesetbedr-lv_root doesn't contain a valid partition table

Disk /dev/mapper/vg_tesetbedr-lv_swap: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_tesetbedr-lv_swap doesn't contain a valid partition table
1. 30G Hard Disk is source disk for cloning by clonezilla.

2. the space 160G - 30G(LVM) = 130G < - I want to put into LVM.

3. 2.1G hard disk <- I don't know.


Please let me know how to fix this.

Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	2012-03-30 15 29 23_1_parttion.jpg
Views:	11
Size:	121.8 KB
ID:	9342   Click image for larger version

Name:	2012-03-30 15 29 39_2_parttion.jpg
Views:	15
Size:	100.5 KB
ID:	9343   Click image for larger version

Name:	2012-03-30 15 29 58_3_parttion.jpg
Views:	12
Size:	132.7 KB
ID:	9344  
 
Old 03-31-2012, 02:15 PM   #2
barnac1e
Member
 
Registered: Jan 2012
Location: Moorhead, Minnesota, USA (birthplace of Slackware, ironically)
Distribution: openSuSE 13.1 - KDE
Posts: 234
Blog Entries: 1

Rep: Reputation: 9
Your new file system is set up incorrectly

The thing I can suggest is to run any live CD, go to a terminal as root an type:

#fdisk

Then type the letter 't' and hit ENTER. It should ask for the number of the partition you want so if the new one is /dev/sda3 for example then just hit 3 and then type the code for Linux LVM which I think is 8E00 the hit enter. Confirm yes at prompt. Then type 'w'. And exit.

Now you may have to recopy it again to the partition but it should be okay after that.
 
1 members found this post helpful.
Old 03-31-2012, 02:21 PM   #3
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Clonezilla will copy the 30GB FS to another drive just as it is, leaving the extra space empty.
Do you have /home inside the 30GB? You could move /home to a bigger partition, so resize the 30GB 1st before move /home to a different partition, lets say 30 to 60 and the 100 left for /home.
http://www.tldp.org/HOWTO/LVM-HOWTO/extendlv.html
The 2.1GB hard disk is a swap partition.

Regards
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Clonezilla skipping patitions in LVM partition starmonche Linux - General 1 05-24-2011 07:19 PM
Clonezilla - partition from one computer to another jwilliam Linux - Software 4 04-18-2010 06:16 AM
CloneZilla Q...what happen to my /boot partition? cbjhawks Linux - Software 8 01-10-2010 05:16 PM
Need help with restoring a Clonezilla image to larger partition EdgesofTwilight Linux - Newbie 7 01-03-2010 09:59 AM
Clonezilla restore to smaller partition jean.eckard Linux - General 5 10-10-2009 09:51 AM


All times are GMT -5. The time now is 05:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration