Results 11 to 18 of 18
I've never had to use resize2fs in this scenario; I normally create a / that takes up a whole disk, then LVM the remaining disks. However, the second paragraph of ...
- 02-02-2007 #11
I've never had to use resize2fs in this scenario; I normally create a / that takes up a whole disk, then LVM the remaining disks. However, the second paragraph of the resize2fs man page states:
I am completely comfortable with trusting this man page and if the scenario arose I would do it.Code:The resize2fs program does not manipulate the size of partitions. If you wish to enlarge a filesystem, you must first make sure you can expand the size of the underlying partition first. This can be done using fdisk(8) by deleting the partition and recreating it with a larger size. When recreating the partition, make sure you create it with the same starting disk cylinder as before! Otherwise, the resize operation will certainly not work, and you may lose your entire filesystem.
- 03-04-2007 #12Linux Newbie
- Join Date
- May 2006
- Location
- Kansas
- Posts
- 187
I have a Suse 10.2 box that I did not setup with LVM for the initial installation. Now I need a large free filesystem to store recordings on for mythTV. I'm going to do what you suggested and and attempt to use "Gparted". I'm really hoping it works. I've only used LVM in the past to do resizing. This will be a first!
- 03-05-2007 #13
Can someone explain what is LMV?
- 03-05-2007 #14
check this Wiki article on LVM ( Logical Volume Management )
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-06-2007 #15Linux Newbie
- Join Date
- May 2006
- Location
- Kansas
- Posts
- 187
I used Gparted and shrunk the size of the partions /home and /. However, now there are two separate partitions that I can't seem to join together. One is 9 gig and the other is 15. I hate to waste that much space.
Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------
hda1 Primary Linux swap / Solaris 526.42
hda2 Boot Primary Linux ext3 6292.34
Pri/Log Free Space 9500.20
hda3 Primary Linux ext3 8916.21
Pri/Log Free Space 14780.83
Any idea on how I can join these together?
- 03-06-2007 #16
When you shrank / you left free space between root and home. When you shrank home you left free space between home and the end of disk.
Maybe you could use two LVM volumes and combine them in to one logical. But to be honest I don't know how to do that.
The alternative is to move the home to the end of root.
- 03-06-2007 #17Linux Newbie
- Join Date
- May 2006
- Location
- Kansas
- Posts
- 187
You are correct. I did leave space. I didn't know Gparted would let me move them.
Originally Posted by gogalthorp
To create a pv for LVM, you have to create a partition on the HD and you can only have a maximum of 4. I tried to create two LV's and do what you said, but it won't let me create 5 total.
I rebooted my box off the gparted cd and I'm moving the partitions now. It looks like it is working fine. Thanks for the suggestion!
- 03-06-2007 #18Linux Newbie
- Join Date
- May 2006
- Location
- Kansas
- Posts
- 187
Ahhhh..... much better now.
My mythTV box thanks you.Code:Name Flags Part Type FS Type [Label] Size (MB) ------------------------------------------------------------------ hda1 Primary Linux swap / Solaris 526.42 hda2 Boot Primary Linux ext3 6292.34 hda3 Primary Linux ext3 8916.21 Pri/Log Free Space 24281.03


Reply With Quote
