LinHES Forums http://forum.linhes.org/ |
|
Clone of HDD quesetion http://forum.linhes.org/viewtopic.php?f=5&t=15668 |
Page 1 of 1 |
Author: | Too Many Secrets [ Wed Jun 20, 2007 10:25 pm ] |
Post subject: | Clone of HDD quesetion |
OK so I had a small SATA hdd that I replaced with a large SATA. I cloned the small disk using the dd if=.. command and everything went well. I'm currently using the new hdd. My problem is that the smaller hdd size shows up. Thinking swiftly... I thought I'd change the files system to xfs (as I was thinking of this anyway) and maybe this would 'fix' things. Well it didn't. I still see the smaller size, but no worse for the ware. So how can I 'recover' the unused hdd space? would a backup and upgrade (F1 to F1) work? Is there an easier way? TIA |
Author: | mihanson [ Wed Jun 20, 2007 10:59 pm ] |
Post subject: | |
I've never done this before, but have you tried to "grow" the filesystem? |
Author: | Too Many Secrets [ Wed Jun 20, 2007 11:16 pm ] |
Post subject: | |
I'll looking into xfs_growfs, I take it this is what your speaking of? Anyone use xfs_growfs? This is my partitions. Seems I'm missing a bit here... Code: # cat /proc/partitions
major minor #blocks name 8 0 488386584 sda 8 1 4891761 sda1 8 2 1959930 sda2 8 3 32218357 sda3 |
Author: | Liv2Cod [ Thu Jun 21, 2007 5:14 am ] |
Post subject: | |
I think growfs is what you want. The other alternative is to nuke the /myth partition, create a new empty one on the big disk, and use tar to copy the data from the old disk to the new big disk. My tar skills are rusty but I think it's something like: Code: tar -cf - . | (cd /newmythpartition) && tar -xf -
But by all means consult someone who knows what he's doing... |
Author: | spalVl [ Thu Jun 21, 2007 5:57 am ] |
Post subject: | |
There is also Gparted Live CD which can resize partitions on the fly. http://gparted.sourceforge.net/features.php Question is does the live cd contain XFS kernel drivers. |
Author: | Too Many Secrets [ Thu Jun 21, 2007 8:48 am ] |
Post subject: | |
thanks for the assistance. isn't GParted included with Ubuntu? I remember playing around with it at one point, I have Ubuntu 6.1(?) at home, I'll see what I can do with that. I should also mention that I've moved any recordings of value, so the /myth partition is basically empty if I need to change the filesystem or something. I just don't fancy doing a complete re-install as there are a number of tweaks that I forget how to do... until I need to do them again. |
Author: | Too Many Secrets [ Thu Jun 21, 2007 5:24 pm ] |
Post subject: | |
spalVl wrote: There is also Gparted Live CD which can resize partitions on the fly.
http://gparted.sourceforge.net/features.php Question is does the live cd contain XFS kernel drivers. This did the trick! gparted took 7 seconds to repartition and find my 'lost' space. and yes it worked fine with XFS. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |