How To Remove Second Volume And Expand First Volume Capacity

I – Checking Inode Size To Check İf You Can Expand Your Volume Or Not?

II – How To Remove a Volume?

III – How To Add HDD’s To Your Existing Volume To Expand Capacity

IV – How To Fix If Expand Capacity Fails?

.

I – Checking Inode Size To Check İf You Can Expand Your Volume Or Not?

Before expanding capacity, you must check if your system support this feature or not;

inode limitation 1

.

Type this command lien to understant your Inode Limit;

name=/dev/mapper/cachedev1;i=`tune2fs_64 -l $name | awk ‘/Inodes per group/ {print $4}’`;b=`tune2fs_64 -l $name | awk ‘/Blocks per group/ {print $4}’`; echo inode ratio is $(( 4*$b/$i ))k

Here is a result example;

inodie limit 2

Its 16K, so you cannot raise this limit up to 64 Tb, so plesae be careful;

.

II – How To Remove a Volume?

Qnap how to remove volume (1)

.Qnap how to remove volume (2.1)

Qnap how to remove volume (3)

.

Qnap how to remove volume (4.1)

Qnap how to remove volume (5.1)

..Qnap how to remove volume (6)

.Qnap how to remove volume (7)

.Qnap how to remove volume (8)

.

III – How To Add HDD’s To Your Existing Volume To Expand Capacity

Qnap how to resize volume (1.1)

.

Qnap how to resize volume (1.2)

.

Qnap how to resize volume (9)

.

Qnap how to resize volume (10)

.

Qnap how to resize volume (11)

.

Qnap how to resize volume (12)

.

Qnap how to resize volume (13)

.

Qnap how to resize volume (14.1)

Qnap how to resize volume (15)

 

.

IV – How To Fix If Expand Capacity Fails?

Reboot the NAS, and filesystem resize will happen automatically

.

If it fails, please be sure you are not braking Inode limitation;

Before expanding capacity, you must check if your system support this feature or not;

inode limitation 1

.

Type this command lien to understant your Inode Limit;

name=/dev/mapper/cachedev1;i=`tune2fs_64 -l $name | awk ‘/Inodes per group/ {print $4}’`;b=`tune2fs_64 -l $name | awk ‘/Blocks per group/ {print $4}’`; echo inode ratio is $(( 4*$b/$i ))k

Here is a result example;

inodie limit 2

Its 16K, so you cannot raise this limit up to 64 Tb, so plesae be careful;

.

If its ok, then login with putty, could try the manual method:

# resize2fs_64 /dev/mapper/cachedev1

Or;

# e2fsck -f /dev/md0

# resize2fs /dev/md0

VN:F [1.9.22_1171]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)
How To Remove Second Volume And Expand First Volume Capacityİkinci Volume'u Kaldırıp Birinci Volume Alanına Nasıl Ekleyebilirsiniz?, 10.0 out of 10 based on 2 ratings

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>