[ILUG-Cochin.org] deleting an unused sandwich partition without trouble
Sebin Jacob
sebinajacob at gmail.com
Mon Aug 31 16:26:07 IST 2009
Hi,
I have a peculiar partition problem that should be dealt with. My partitions
are as follows:
Primary partitions
/dev/sda1 Windows TYPE="ntfs"
/dev/sda2 Linux boot partition TYPE="ext2"
/dev/sda3 Windows TYPE="ntfs"
Extended partition
/dev/sda4
Logical partitions
/dev/sda5 ntfs
/dev/sda6 linux swap
/dev/sda7 lvm2pv over dm_crypt
The encrypted partition /dev/sda7 is aliased as physical volume
/dev/mapper/vgroup . The volume groups is partitioned as follows.
/dev/mapper/vgroup: TYPE="lvm2pv"
/dev/mapper/vgroup-root: TYPE="ext3"
/dev/mapper/vgroup-swap: TYPE="swap"
/dev/mapper/vgroup-usr: TYPE="jfs"
/dev/mapper/vgroup-var: TYPE="reiserfs"
/dev/mapper/vgroup-opt: TYPE="xfs"
/dev/mapper/vgroup-tmp: TYPE="xfs"
/dev/mapper/vgroup-home: TYPE="ext4"
when mounting the partitions, swap is mounted from the lvm,
/dev/mapper/vgroup-swap. I accidentally had kept a separate swap partition
outside the logical volume which is of no use now. It comes around 1.7 GB,
ie, 15% more than my RAM. I wanted to merge it with /dev/sda5, the ntfs
logical partition inside the extended partition. But normally, if i do so,
the encrypted partition /dev/sda7 will be automatically renamed as
/dev/sda6. As /dev/sda7 is currently a linux logical volume, this may create
a problem with booting my distro: Arch linux that I had build from base
(using kdemod4 as DE). So is there a way out to successfully delete
/dev/sda6 and merge it with /dev/sda5 without causing trouble to my GNU
system? If I specify partitions with its UUID is fstab, can I succeed in
doing so? Otherwise, it would take 2-3 days downloading installing and
tweaking the system for my use.
regards,
Sebin
--
Understanding is a three-edged sword: your side, their side, and the truth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20090831/7fe961dd/attachment.html>
More information about the Mailinglist
mailing list