Skip to content

Instantly share code, notes, and snippets.

@Aebian
Last active April 25, 2018 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aebian/93ce404160186c9e0af105563a0c6444 to your computer and use it in GitHub Desktop.
Save Aebian/93ce404160186c9e0af105563a0c6444 to your computer and use it in GitHub Desktop.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_redhat66tp-lv_root
18G 5.9G 11G 36% /
tmpfs 3.9G 448K 3.9G 1% /dev/shm
/dev/sda1 477M 33M 419M 8% /boot
/dev/sdc 4.8G 10M 4.6G 1% /db
/dev/sdb 20G 44M 19G 1% /sw
/dev/sdd 20G 44M 19G 1% /data
/dev/sr0 2.8G 2.8G 0 100% /media/ORACLE_12.1_LinuxX64
--- Volume group ---
VG Name vg_redhat66tp
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 19.51 GiB
PE Size 4.00 MiB
Total PE 4994
Alloc PE / Size 4994 / 19.51 GiB
Free PE / Size 0 / 0
VG UUID 31jXy7-hIo7-gyid-p9KE-tc0u-45Vr-uDodmR
WARNING: Reducing active and open logical volume to 15.51 GiB
THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce lv_root? [y/n]: Y
Size of logical volume vg_redhat66tp/lv_swap changed from 2.00 GiB (512 extents) to 4.00 GiB (1024 extents).
Logical volume lv_swap successfully resized
VFS: Disk quotas dquot_6.5.2
scsi 2:0:0:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2
scsi 2:0:1:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2
scsi 2:0:2:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2
scsi 2:0:3:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2
sd 2:0:0:0: [sda] Attached SCSI disk
sd 2:0:1:0: [sdb] Attached SCSI disk
sd 2:0:2:0: [sdc] Attached SCSI disk
sd 2:0:3:0: [sdd] Attached SCSI disk
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/sdb is mounted on /db; on-line resizing required
old desc_blocks = 2, new_desc_blocks = 3
Performing an on-line resize of /dev/sdb to 10485760 (4k) blocks.
The filesystem on /dev/sdb is now 10485760 blocks long.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment