vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 11892 16.06GB (11893/0/0) 33680976 1 swap wu 11893 - 12616 1001.16MB (724/0/0) 2050368 2 backup wm 0 - 12624 17.05GB (12625/0/0) 35754000 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 0 0 (0/0/0) 0 6 unassigned wm 0 0 (0/0/0) 0 7 unassigned wm 12617 - 12624 11.06MB (8/0/0) 22656 Is there anyway to cannibalize space from the swap partition (partition 2) and give it to partition 7 in this case? I only want to add another 10M to partition 7 so that I can add meta device database replica for the LVM. Thanks |
| |||
| BN wrote: > Part Tag Flag Cylinders Size Blocks > 0 root wm 0 - 11892 16.06GB (11893/0/0) 33680976 > 1 swap wu 11893 - 12616 1001.16MB (724/0/0) 2050368 > 2 backup wm 0 - 12624 17.05GB (12625/0/0) 35754000 > 3 unassigned wm 0 0 (0/0/0) 0 > 4 unassigned wm 0 0 (0/0/0) 0 > 5 unassigned wm 0 0 (0/0/0) 0 > 6 unassigned wm 0 0 (0/0/0) 0 > 7 unassigned wm 12617 - 12624 11.06MB (8/0/0) 22656 > > > Is there anyway to cannibalize space from the swap partition (partition > 2) and give it to partition 7 in this case? > > I only want to add another 10M to partition 7 so that I can add meta > device database replica for the LVM. Yes, that should be possible since they're contiguous. Partition 1 ends at cylinder 12616 and partition 7 begins at 12617. If you can unmount everything on the drive, do that and then use "swap -d" to turn off that swap area. Then just use format, make partition 1 10MB smaller, make partition 7 begin at the the cylinder after parition 1, then make partition 7 as big as possible. By doing this, you will lose all the data on partitions 1 and 7. That doesn't matter for partition 1 since it's just swap, but if you have anything important on partition 7, you need to make arrangements for that. - Logan |
| |||
| U have to first of all stop using slice 1 for swap using swap -d Then u can resize the partition and add it once again using the swap command . Look at the man page for swap George "BN" <BN@BN.COMO> wrote in message news:11jls995l6a8gd2@news.supernews.com... > Part Tag Flag Cylinders Size Blocks > 0 root wm 0 - 11892 16.06GB (11893/0/0) 33680976 > 1 swap wu 11893 - 12616 1001.16MB (724/0/0) 2050368 > 2 backup wm 0 - 12624 17.05GB (12625/0/0) 35754000 > 3 unassigned wm 0 0 (0/0/0) 0 > 4 unassigned wm 0 0 (0/0/0) 0 > 5 unassigned wm 0 0 (0/0/0) 0 > 6 unassigned wm 0 0 (0/0/0) 0 > 7 unassigned wm 12617 - 12624 11.06MB (8/0/0) 22656 > > > Is there anyway to cannibalize space from the swap partition (partition > 2) and give it to partition 7 in this case? > > I only want to add another 10M to partition 7 so that I can add meta > device database replica for the LVM. > > Thanks |
| |||
| "ktgf" <george@tinshed.plus.com> wrote in message news:433af5cf$0$49776$ed2e19e4@ptn-nntp-reader04.plus.net... > U have to first of all stop using slice 1 for swap using swap -d > Then u can resize the partition and add it once again using the swap > command . Look at the man page for swap no you don't... umount -f... Ron! |
| ||||
| "Ron!" <anemail@spam.net> wrote in message news:0CH_e.7529$6e1.3411@newssvr14.news.prodigy.co m... > "ktgf" <george@tinshed.plus.com> wrote in message > news:433af5cf$0$49776$ed2e19e4@ptn-nntp-reader04.plus.net... > > U have to first of all stop using slice 1 for swap using swap -d > > Then u can resize the partition and add it once again using the swap > > command . Look at the man page for swap > no you don't... umount -f... oops, my bad... ignore the idiocy... Ron! |