Site Tools


synology:resizing_partitions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
synology:resizing_partitions [2026/04/19 11:41] – ashleysynology:resizing_partitions [2026/04/19 11:45] (current) – [Final Recheck of VG] ashley
Line 32: Line 32:
   root@test:/usr/syno/etc.defaults/rc.sysv# ./usbip.sh stop   root@test:/usr/syno/etc.defaults/rc.sysv# ./usbip.sh stop
   root@test:/# umount -l /dev/mapper/cachedev_0   root@test:/# umount -l /dev/mapper/cachedev_0
-====BTFRS resize====  +====BTFRS resize (reducing by 10G)====  
   root@test:/# btrfs filesystem resize -- -40G /volume1   root@test:/# btrfs filesystem resize -- -40G /volume1
   Resize '/volume1' of '-40G'   Resize '/volume1' of '-40G'
Line 61: Line 61:
   Size of logical volume vg1/volume_1 changed from 89.00 GiB (22784 extents) to 49.00 GiB (12544 extents).   Size of logical volume vg1/volume_1 changed from 89.00 GiB (22784 extents) to 49.00 GiB (12544 extents).
   Logical volume volume_1 successfully resized.   Logical volume volume_1 successfully resized.
-====Final Recheck of VG==== +
-  root@test:/# vgdisplay +
-  --- Volume group --- +
-  VG Name               vg1 +
-  System ID +
-  Format                lvm2 +
-  Metadata Areas        1 +
-  Metadata Sequence No  5 +
-  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               89.77 GiB +
-  PE Size               4.00 MiB +
-  Total PE              22981 +
-  Alloc PE / Size       12547 / 49.01 GiB +
-  Free  PE / Size       10434 / 40.76 GiB +
-  VG UUID               ugQJd0-KF7V-Syl0-34QQ-d52M-jN3F-6qvwyP+
 ====Finally resize BTRFS to fill LVM==== ====Finally resize BTRFS to fill LVM====
   btrfs fi resize max /volume1   btrfs fi resize max /volume1
  
synology/resizing_partitions.1776598919.txt.gz · Last modified: by ashley