This is an old revision of the document!
login as: admin2 admin2@192.168.2.131's password:
Using terminal commands to modify system configs, execute external binary files, add files, or install unauthorized third-party apps may lead to system root@test:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/md0 7.9G 1.5G 6.3G 19% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 2.0G 124K 2.0G 1% /dev/shm tmpfs 2.0G 18M 1.9G 1% /run tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup tmpfs 2.0G 28M 1.9G 2% /tmp /dev/loop0 27M 767K 24M 4% /tmp/SynologyAuthService /dev/mapper/cachedev_0 86G 80M 86G 1% /volume1
root@test:~# synopkg onoffall stop Stop SynoFinder Stop SupportService Stop StorageManager Stop SecureSignIn Stop ScsiTarget Stop SMBService Stop QuickConnect Stop Python2 Stop OAuthService Stop HybridShare Stop FileStation Stop ActiveInsight stop all packages successfully sftp.sh synomount.sh tftp_serv root@test:/usr/syno/etc.defaults/rc.sysv# ./synomount.sh stop Remove udf.ko ... Remove isofs.ko ... root@test:/usr/syno/etc.defaults/rc.sysv# ./a stop apparmor.sh avahi.sh root@test:/usr/syno/etc.defaults/rc.sysv# ./apparmor.sh stop Unloading AppArmor profiles root@test:/usr/syno/etc.defaults/rc.sysv# ./avahi.sh stop root@test:/usr/syno/etc.defaults/rc.sysv# ./cupsd.sh stop root@test:/usr/syno/etc.defaults/rc.sysv# ./irqbalance.sh stop root@test:/usr/syno/etc.defaults/rc.sysv# ./usbip.sh stop root@test:/# umount -l /dev/mapper/cachedev_0
btrfs resize
root@test:/# btrfs filesystem resize -- -40G /volume1 Resize '/volume1' of '-40G'
LV Resize
root@test:/# lvdisplay --- Logical volume --- LV Path /dev/vg1/volume_1 LV Name volume_1 VG Name vg1 LV UUID R4rD6l-bTbD-6P1B-F2jW-jOiN-XZkF-Fb48Lg LV Write Access read/write LV Creation host, time , LV Status available # open 1 LV Size 89.00 GiB Current LE 22784 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 384 Block device 249:1
root@test:/# lvm lvreduce -L -40G /dev/vg1/volume_1 WARNING: Reducing active and open logical volume to 49.00 GiB THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce volume_1? [y/n]: y 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. 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
