Author Topic: [SOLVED] where is the rest of my crypto_luks file system and how to use it?  (Read 1713 times)

ATT1

  • Zen Warrior
  • ***
  • Posts: 120
  • Karma: +0/-0
    • View Profile
Hello,
I told Zentyal to ask for a passphrase for the crypted drive since he installed himself to a crypted drive.
fdisk looks like this:

Quote
Disk /dev/sda: 499.6 GB, 499558383616 bytes
255 heads, 63 sectors/track, 60734 cylinders, total 975699968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00006ecf

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758   975697919   487598081    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5          501760   975697919   487598080   83  Linux

I decided to use about 113 GB for the main system:

 df -h
Filesystem                  Size  Used Avail Use% Mounted on
/dev/mapper/srv01--vg-root  113G  2,3G  105G   3% /

Now, where are the other unused (500GB-113GB) from the drive gone to, and how can I use them, manually?
I would love to add another crypted partition in that space somehwere (crypted with some other passphrase and other crypt mechanism). Is that possible, and if so, how to do it ?

« Last Edit: February 18, 2014, 05:07:10 pm by ATT1 »

ATT1

  • Zen Warrior
  • ***
  • Posts: 120
  • Karma: +0/-0
    • View Profile
Re: where is the rest of my crypto_luks file system and how to use it?
« Reply #1 on: February 18, 2014, 05:06:44 pm »
Solved it myself:

"lvdisplay" displayed all current LVM partitions; "lvcreate" created a new partition, which was mounted editing the /etc/fstab.
If ACL problems occur, "setfacl" and "getfacl" help.