nas 326 - resize of volume seems not to work
All Replies
-
I found a solution myself. The solution is described hereYou may follow the sequence. But you need to find "your" volume which needs to be expanded.Here is what I did:logon via putty as "root"run "lvdisplay "Now try "resize2fs" for all logical volumes from above until you find a ogical volume to expand. Copy the volume names from above.
~ # lvdisplay
--- Logical volume ---
LV Path /dev/vg_a246bbf1/vg_info_area
LV Name vg_info_area
VG Name vg_a246bbf1
LV UUID cT3bM4-rmoP-vcla-j4A4-BxQc-9z0o-407q0g
LV Write Access read/write
LV Creation host, time NAS326, 2017-09-04 21:38:34 +0200
LV Status available
# open 1
LV Size 100.00 MiB
Current LE 25
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 1024
Block device 253:0
--- Logical volume ---
LV Path /dev/vg_a246bbf1/lv_d648b119
LV Name lv_d648b119
VG Name vg_a246bbf1
LV UUID wLV5f3-NFTp-bF1B-0fdk-JVyQ-x3b4-iHWuUM
LV Write Access read/write
LV Creation host, time NAS326, 2017-09-04 21:38:35 +0200
LV Status available
# open 1
LV Size 1.96 TiB
Current LE 513536
Segments 3
Allocation inherit
Read ahead sectors auto
- currently set to 1024
Block device 253:1
--- Logical volume ---
LV Path /dev/vg_a246bbf1/lv_a4b19a90
LV Name lv_a4b19a90
VG Name vg_a246bbf1
LV UUID TS9AMf-SGVk-8X6r-etAd-tj9X-zVSG-zZR3ja
LV Write Access read/write
LV Creation host, time NAS326, 2018-12-27 10:39:29 +0100
LV Status available
# open 1
LV Size 1.68 TiB
Current LE 440316
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 1024
Block device 253:2
--- Logical volume ---
LV Path /dev/vg_a246bbf1/lv_067dd4d6
LV Name lv_067dd4d6
VG Name vg_a246bbf1
LV UUID x9slNI-59Kh-OJPC-ubGs-aAhC-t9jy-qZB79q
LV Write Access read/write
LV Creation host, time NAS326, 2019-10-06 16:57:18 +0200
LV Status available
# open 1
LV Size 1.96 TiB
Current LE 512512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 1024
Block device 253:3
Now I got all Logical volume which might be in scope.
Now follow the sequence:
ran "vi /etc/init.d/rc.shutdown".
Pressed "i" on keyboard.
Look for "#swapoff" and pasted theses lines after that line:
/sbin/telnetd
/bin/sh
Pressed ESC-key and then typed and ran ":wq".
Run "poweroff" in the shell
Closed Putty.
Opened Putty once again, using the same IP and Port, but select "Telnet" instead of "SSH" as Connection type. A new command window opened and I had to login as "root" again.
Pasted and ran "umount /i-data/sysvol"
~ # resize2fs /dev/vg_a246bbf1/lv_d648b119
resize2fs 1.42.12 (29-Aug-2014)
The filesystem can be resize to 525860864 blocks.chk_expansible=0
Resizing the filesystem on /dev/vg_a246bbf1/lv_d648b119 to 525860864 (4k) blocks.
The filesystem on /dev/vg_a246bbf1/lv_d648b119 is now 525860864 (4k) blocks long.
~ # resize2fs /dev/vg_a246bbf1/lv_a4b19a90
resize2fs 1.42.12 (29-Aug-2014)
The filesystem is already 450883584 (4k) blocks long. Nothing to do!
~ # resize2fs /dev/vg_a246bbf1/lv_067dd4d6
resize2fs 1.42.12 (29-Aug-2014)
The filesystem is already 524812288 (4k) blocks long. Nothing to do!Rebbot the NAS by pressing the "poweroff" button on the device.Vola. You are done. The volume should be expanded.0
Categories
- All Categories
- 415 Beta Program
- 2.5K Nebula
- 152 Nebula Ideas
- 101 Nebula Status and Incidents
- 5.8K Security
- 296 USG FLEX H Series
- 281 Security Ideas
- 1.5K Switch
- 77 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 254 Service & License
- 396 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 76 Security Highlight