Monday, November 12, 2012

Extending disk space on Ubuntu 10.04 inside a VMware session

Similar to my other post I have successfully expanded the hard disk space on a VMware Ubuntu 10.04 machine. The size before was around 20G and I added 40G. Becuase its s VMware session I DID NOT need to reboot during the whole thing.

Basically it was the same as the Fedora case with a few differences as the Ubuntu used LVM but not GPT.

Heres the situation at the start:


root@HQ-SV-COMS-TILE:~# uname -a
Linux HQ-SV-COMS-TILE 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux





root@HQ-SV-COMS-TILE:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/HQ--SV--COMS--TILE-root
                       18G   17G  172M  99% /
udev                  2.0G  4.0K  2.0G   1% /dev
tmpfs                 793M  232K  793M   1% /run
none                  5.0M     0  5.0M   0% /run/lock
none                  2.0G     0  2.0G   0% /run/shm
/dev/sda1             228M   24M  193M  11% /boot


root@HQ-SV-COMS-TILE:~# lvs
  LV     VG              Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  root   HQ-SV-COMS-TILE -wi-ao 17.74g                                      
  swap_1 HQ-SV-COMS-TILE -wi-ao  2.00g 

root@HQ-SV-COMS-TILE:~# fdisk -l

Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009138a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758    41940991    20719617    5  Extended
/dev/sda5          501760    41940991    20719616   8e  Linux LVM

Disk /dev/mapper/HQ--SV--COMS--TILE-root: 19.1 GB, 19050528768 bytes
255 heads, 63 sectors/track, 2316 cylinders, total 37208064 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/HQ--SV--COMS--TILE-root doesn't contain a valid partition table

Disk /dev/mapper/HQ--SV--COMS--TILE-swap_1: 2143 MB, 2143289344 bytes
255 heads, 63 sectors/track, 260 cylinders, total 4186112 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/HQ--SV--COMS--TILE-swap_1 doesn't contain a valid partition table

Begin creating partitions inside the gaps
root@HQ-SV-COMS-TILE:~# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009138a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758    41940991    20719617    5  Extended
/dev/sda5          501760    41940991    20719616   8e  Linux LVM

Command (m for help): n
Command action
   l   logical (5 or over)
   p   primary partition (1-4)
p
Partition number (1-4, default 3): 3
First sector (499712-125829119, default 499712): 
Using default value 499712
Last sector, +sectors or +size{K,M,G} (499712-501757, default 501757): 
Using default value 501757

Command (m for help): n
Command action
   l   logical (5 or over)
   p   primary partition (1-4)
p
Selected partition 4
First sector (41940992-125829119, default 41940992): 
Using default value 41940992
Last sector, +sectors or +size{K,M,G} (41940992-125829119, default 125829119): 
Using default value 125829119

Command (m for help): p

Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009138a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758    41940991    20719617    5  Extended
/dev/sda3          499712      501757        1023   83  Linux
/dev/sda4        41940992   125829119    41944064   83  Linux
/dev/sda5          501760    41940991    20719616   8e  Linux LVM

Partition table entries are not in disk order

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
root@HQ-SV-COMS-TILE:~# partprobe

root@HQ-SV-COMS-TILE:~# fdisk -l

Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009138a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758    41940991    20719617    5  Extended
/dev/sda3          499712      501757        1023   83  Linux
/dev/sda4        41940992   125829119    41944064   83  Linux
/dev/sda5          501760    41940991    20719616   8e  Linux LVM

Partition table entries are not in disk order

root@HQ-SV-COMS-TILE:~# lvs
  LV     VG              Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  root   HQ-SV-COMS-TILE -wi-ao 17.74g                                      
  swap_1 HQ-SV-COMS-TILE -wi-ao  2.00g                                      
root@HQ-SV-COMS-TILE:~# vgextend HQ-SV-COMS-TILE /dev/sda3
  Volume group "HQ-SV-COMS-TILE" successfully extended
root@HQ-SV-COMS-TILE:~# vgdisplay
  --- Volume group ---
  VG Name               HQ-SV-COMS-TILE
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               19.76 GiB
  PE Size               4.00 MiB
  Total PE              5058
  Alloc PE / Size       5053 / 19.74 GiB
  Free  PE / Size       5 / 20.00 MiB
  VG UUID               01HVUX-Nffq-FDN5-dQam-qelF-wnlF-UMci63
   
root@HQ-SV-COMS-TILE:~# lvextend -L +5M /dev/HQ-SV-COMS-TILE/root
  Rounding up size to full physical extent 8.00 MiB
  Extending logical volume root to 17.75 GiB
  Logical volume root successfully resized
root@HQ-SV-COMS-TILE:~# resize2fs /dev/HQ-SV-COMS-TILE/root
resize2fs 1.41.14 (22-Dec-2010)
Filesystem at /dev/HQ-SV-COMS-TILE/root is mounted on /; on-line resizing required
old desc_blocks = 2, new_desc_blocks = 2
Performing an on-line resize of /dev/HQ-SV-COMS-TILE/root to 4653056 (4k) blocks.
The filesystem on /dev/HQ-SV-COMS-TILE/root is now 4653056 blocks long.

root@HQ-SV-COMS-TILE:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/HQ--SV--COMS--TILE-root
                      18320140  17206020    183920  99% /
udev                   2020284         4   2020280   1% /dev
tmpfs                   811744       240    811504   1% /run
none                      5120         0      5120   0% /run/lock
none                   2029356         0   2029356   0% /run/shm
/dev/sda1               233191     23963    196787  11% /boot
root@HQ-SV-COMS-TILE:~# fdisk -l

Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009138a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758    41940991    20719617    5  Extended
/dev/sda3          499712      501757        1023   83  Linux
/dev/sda4        41940992   125829119    41944064   83  Linux
/dev/sda5          501760    41940991    20719616   8e  Linux LVM

Partition table entries are not in disk order

Disk /dev/mapper/HQ--SV--COMS--TILE-root: 19.1 GB, 19058917376 bytes
255 heads, 63 sectors/track, 2317 cylinders, total 37224448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/HQ--SV--COMS--TILE-root doesn't contain a valid partition table

Disk /dev/mapper/HQ--SV--COMS--TILE-swap_1: 2143 MB, 2143289344 bytes
255 heads, 63 sectors/track, 260 cylinders, total 4186112 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/HQ--SV--COMS--TILE-swap_1 doesn't contain a valid partition table
root@HQ-SV-COMS-TILE:~# pvcreate /dev/sda4
  Physical volume "/dev/sda4" successfully created
root@HQ-SV-COMS-TILE:~# vgextend HQ-SV-COMS-TILE /dev/sda4
  Volume group "HQ-SV-COMS-TILE" successfully extended
root@HQ-SV-COMS-TILE:~# vgdisplay
  --- Volume group ---
  VG Name               HQ-SV-COMS-TILE
  System ID             
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  6
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                3
  Act PV                3
  VG Size               59.76 GiB
  PE Size               4.00 MiB
  Total PE              15298
  Alloc PE / Size       5055 / 19.75 GiB
  Free  PE / Size       10243 / 40.01 GiB
  VG UUID               01HVUX-Nffq-FDN5-dQam-qelF-wnlF-UMci63
   
root@HQ-SV-COMS-TILE:~# lvextend -L +40.01G /dev/HQ-SV-COMS-TILE/root
  Rounding up size to full physical extent 40.01 GiB
  Extending logical volume root to 57.76 GiB
  Logical volume root successfully resized
root@HQ-SV-COMS-TILE:~# resize2fs /dev/HQ-SV-COMS-TILE/root
resize2fs 1.41.14 (22-Dec-2010)
Filesystem at /dev/HQ-SV-COMS-TILE/root is mounted on /; on-line resizing required
old desc_blocks = 2, new_desc_blocks = 4
Performing an on-line resize of /dev/HQ-SV-COMS-TILE/root to 15141888 (4k) blocks.
The filesystem on /dev/HQ-SV-COMS-TILE/root is now 15141888 blocks long.

root@HQ-SV-COMS-TILE:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/HQ--SV--COMS--TILE-root
                      59615364  17214100  39375092  31% /
udev                   2020284         4   2020280   1% /dev
tmpfs                   811744       240    811504   1% /run
none                      5120         0      5120   0% /run/lock
none                   2029356         0   2029356   0% /run/shm
/dev/sda1               233191     23963    196787  11% /boot




Friday, November 9, 2012

Ejecting invisible usb devices on Mac

I needed to program a DM3601 Motorola radio the other day on my mac. I use virtualbox to run a windows XP session with a copy of CPS to configure the radio via usb cable. Normally usb devices need removing or ejecting from the host machine before the virtualbox has access to the hardware, but in this case it wasnt so easy....

Not knowing what to expect I attached a usb cable to the radio and plugged it to the usb slot on the mac. 

After plugging it in there was no usb device to be found, so I looked in the system information (applications->utilities) and thus knew the kernel has loaded something, but there was nothing to eject it as there were no icons anywhere. The solution was to unload the kernel module resonsible for holding the hardware via a terminal session.

I did the following:

Pop up a terminal and run:


# kextstat

   :
   :
  130    0 0xffffff7f81d01000 0x5000     0x5000     com.apple.driver.AppleHWSensor (1.9.5d0) <5 4 3>  131    3 0xffffff7f80a3a000 0x42000    0x42000    org.virtualbox.kext.VBoxDrv (4.2.4) <7 5 4 3 1>  132    0 0xffffff7f80795000 0x8000     0x8000     org.virtualbox.kext.VBoxUSB (4.2.4) <131 43 30 7 5 4 3 1>  133    0 0xffffff7f8079d000 0x5000     0x5000     org.virtualbox.kext.VBoxNetFlt (4.2.4) <131 7 5 4 3 1>  134    0 0xffffff7f807a2000 0x6000     0x6000     org.virtualbox.kext.VBoxNetAdp (4.2.4) <131 5 4 1>  143    0 0xffffff7f807ab000 0xd000     0xd000     com.apple.nke.asp_tcp (6.0.1) <7 6 5 4 3 1>  144    1 0xffffff7f807b8000 0x12000    0x12000    com.apple.security.SecureRemotePassword (1.0) <4 1>  145    0 0xffffff7f81001000 0x51000    0x51000    com.apple.filesystems.afpfs (9.8.1) <144 7 6 5 4 3 1>  152    0 0xffffff7f807ca000 0x3000     0x3000     com.apple.driver.AppleUSBCDC (4.1.22) <30 4 3>


...which lists the kernel extensions that have loaded and viola at the bottom of the list is the USB module responsible for the device I just connected.

unload it with this:


# kextunload -b com.apple.driver.AppleUSBCDC




Now I could connect the virtualbox to the usb without a glitch.



Friday, October 26, 2012

Running out of disk space on a small VM at work used for the Cisco Call manger backups the other day I whacked up these notes below so I dont need to comb the internet again.....

Let me know if they are helpful or even if they crash your system!

Expanding LVM based disk size on the fly (Fedora 16+)

Used on Fedora 16 GPT partition table

This disk is sitting on  a VMware virtual machine - the VM GUI was used to add 40 GB to the existing 20 GB virtual disk, I then rebooted to pick up the change. Once rebooted I use fdisk to verify the 'physical' device, gdisk to modify the partition and resize it to the full extent as indicated by vmware. Once this is done the physical volume needs expanding (pvresize) and the logical volume needs extending (lvextend). A final filesystem resize (resize2fs) will allow the fs to be available for use. Again a final reboot checks everything. Reboots are not necessary as this can all be done on the fly.


STEP 1

# fdisk is no good on GPT tables but I used it to find the physical device name:


[root@HQ-SV-COMS-ARGUS ~]# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   125829119    62914559+  ee  GPT

Disk /dev/mapper/vg_hqsvcomsargus-lv_swap: 4227 MB, 4227858432 bytes
255 heads, 63 sectors/track, 514 cylinders, total 8257536 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_hqsvcomsargus-lv_swap doesn't contain a valid partition table

Disk /dev/mapper/vg_hqsvcomsargus-lv_root: 16.7 GB, 16710107136 bytes
255 heads, 63 sectors/track, 2031 cylinders, total 32636928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_hqsvcomsargus-lv_root doesn't contain a valid partition table

STEP 2

# fedora 16 doesnt have gdisk so I installed it:

yum install gdisk -y

# run gdisk on that device
gdisk /dev/sda

# print current status

Command (? for help): p
Disk /dev/sda: 125829120 sectors, 60.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C752E34E-343B-4021-A836-3515BB8240DC
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 125829086
Partitions will be aligned on 2048-sector boundaries
Total free space is 83890109 sectors (40.0 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
  1            2048            4095   1024.0 KiB  EF02  
  2            4096         1028095   500.0 MiB   EF00  ext4
  3         1028096        41940991   19.5 GiB    8E00  

Command (? for help): d
Partition number (1-3): 3

Command (? for help): p
Disk /dev/sda: 125829120 sectors, 60.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C752E34E-343B-4021-A836-3515BB8240DC
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 125829086
Partitions will be aligned on 2048-sector boundaries
Total free space is 124803005 sectors (59.5 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
  1            2048            4095   1024.0 KiB  EF02  
  2            4096         1028095   500.0 MiB   EF00  ext4

Command (? for help): n
Partition number (3-128, default 3):
First sector (34-125829086, default = 1028096) or {+-}size{KMGTP}:
Last sector (1028096-125829086, default = 125829086) or {+-}size{KMGTP}:
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 8e00
Changed type of partition to 'Linux LVM'

Command (? for help): p
Disk /dev/sda: 125829120 sectors, 60.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C752E34E-343B-4021-A836-3515BB8240DC
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 125829086
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
  1            2048            4095   1024.0 KiB  EF02  
  2            4096         1028095   500.0 MiB   EF00  ext4
  3         1028096       125829086   59.5 GiB    8E00  Linux LVM

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sda.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
[root@HQ-SV-COMS-ARGUS ~]# reboot

STEP 3

hq-lt-icts-dag:~ root# ssh 10.180.12.96
root@10.180.12.96's password:
Last login: Fri Oct 26 10:21:58 2012 from 10.180.2.134
[root@HQ-SV-COMS-ARGUS ~]# pvdisplay
 --- Physical volume ---
 PV Name               /dev/sda3
 VG Name               vg_hqsvcomsargus
 PV Size               19.51 GiB / not usable 9.00 MiB
 Allocatable           yes (but full)
 PE Size               32.00 MiB
 Total PE              624
 Free PE               0
 Allocated PE          624
 PV UUID               BoP2za-jBDl-eajm-vqaM-abZ3-KorZ-P3Mm5b
  
[root@HQ-SV-COMS-ARGUS ~]# pvresize /dev/sda3
 Physical volume "/dev/sda3" changed
 1 physical volume(s) resized / 0 physical volume(s) not resized
[root@HQ-SV-COMS-ARGUS ~]# pvdisplay
 --- Physical volume ---
 PV Name               /dev/sda3
 VG Name               vg_hqsvcomsargus
 PV Size               59.51 GiB / not usable 8.98 MiB
 Allocatable           yes
 PE Size               32.00 MiB
 Total PE              1904
 Free PE               1280
 Allocated PE          624
 PV UUID               BoP2za-jBDl-eajm-vqaM-abZ3-KorZ-P3Mm5b
  
[root@HQ-SV-COMS-ARGUS ~]# df -h
Filesystem                            Size  Used Avail Use% Mounted on
rootfs                                 16G   12G  2.6G  83% /
devtmpfs                              992M     0  992M   0% /dev
tmpfs                                1002M     0 1002M   0% /dev/shm
tmpfs                                1002M  492K 1002M   1% /run
/dev/mapper/vg_hqsvcomsargus-lv_root   16G   12G  2.6G  83% /
tmpfs                                1002M     0 1002M   0% /sys/fs/cgroup
tmpfs                                1002M     0 1002M   0% /media
/dev/sda2                             485M   83M  377M  19% /boot
[root@HQ-SV-COMS-ARGUS ~]# pvscan
 PV /dev/sda3   VG vg_hqsvcomsargus   lvm2 [59.50 GiB / 40.00 GiB free]
 Total: 1 [59.50 GiB] / in use: 1 [59.50 GiB] / in no VG: 0 [0   ]

STEP 4

[root@HQ-SV-COMS-ARGUS ~]# lvextend -L +40G /dev/mapper/vg_hqsvcomsargus-lv_root
 Extending logical volume lv_root to 55.56 GiB
 Logical volume lv_root successfully resized
[root@HQ-SV-COMS-ARGUS ~]# df -h
Filesystem                            Size  Used Avail Use% Mounted on
rootfs                                 16G   12G  2.6G  83% /
devtmpfs                              992M     0  992M   0% /dev
tmpfs                                1002M     0 1002M   0% /dev/shm
tmpfs                                1002M  496K 1002M   1% /run
/dev/mapper/vg_hqsvcomsargus-lv_root   16G   12G  2.6G  83% /
tmpfs                                1002M     0 1002M   0% /sys/fs/cgroup
tmpfs                                1002M     0 1002M   0% /media
/dev/sda2                             485M   83M  377M  19% /boot
[root@HQ-SV-COMS-ARGUS ~]# resize2fs /dev/mapper/vg_hqsvcomsargus-lv_root
resize2fs 1.41.14 (22-Dec-2010)
Filesystem at /dev/mapper/vg_hqsvcomsargus-lv_root is mounted on /; on-line resizing required
old desc_blocks = 1, new_desc_blocks = 4
Performing an on-line resize of /dev/mapper/vg_hqsvcomsargus-lv_root to 14565376 (4k) blocks.
The filesystem on /dev/mapper/vg_hqsvcomsargus-lv_root is now 14565376 blocks long.

[root@HQ-SV-COMS-ARGUS ~]# df -h
Filesystem                            Size  Used Avail Use% Mounted on
rootfs                                 55G   12G   41G  23% /
devtmpfs                              992M     0  992M   0% /dev
tmpfs                                1002M     0 1002M   0% /dev/shm
tmpfs                                1002M  496K 1002M   1% /run
/dev/mapper/vg_hqsvcomsargus-lv_root   55G   12G   41G  23% /
tmpfs                                1002M     0 1002M   0% /sys/fs/cgroup
tmpfs                                1002M     0 1002M   0% /media
/dev/sda2                             485M   83M  377M  19% /boot