Re: resizing partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm going to have to resize a partition (shrink it) to make room for
more swap space.  This is actually not too big of a deal, since we're
not talking about a "system" partition (/, /var, /usr, etc), but one
where an application resides.  So I won't even have to go to "rescue"
mode to do this.  I can umount this thing live. (and since I'm working
on it remotely, that's important).

But this system was not configured with LVM.  So it occurs to me, that
in dealing with a non-LVM partition(s), if the swap space I want to
enlarge isn't next to the partition I shrink, my options would be to:

1.  Manually "move" the other partitions, probably very risky

2.  Simply make a second swap space that's next to the partition I
shrink.

Have I got the right idea?
  === Al

You could also create a swap file and put it in the partition you would be shrinking and use that instead of repartitioning.

Barry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux