NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
lazyfox
Mar 25, 2013Follower
Manually Resizing Readynas Duo 2 X-Raid2 Volume
Hi, I had the following problem: I wanted to replace Samsung 1TB HD with a new shinny WD RED 2 TB without factory reset. In my case I only use one HD since I can afford to have my NAS off-line ...
azer
Jan 02, 2014Aspirant
I was successfull doing this on my ultra 2 running 4.2.25 with some changes:
2) Depending on your braveness it might be wise to shutdown your readynas before pulling out the old drive
5) run "print free" in parted to view the free space and use the start end end numbers with the mkpart command
8 ) lvm doesn't run interactively, but the commads like pvcreate work from the regular commandline
9) If you get " Device /dev/sda4 not found (or ignored by filtering)." then there is a filter in lvm.conf, edit it using your favourite editor
root@Readynas:~# pico /etc/lvm/lvm.conf
change
devices {
dir = "/dev"
scan = [ "/dev" ]
filter = [ "a|^/dev/md[2-9]|", "a|^/dev/md[12][0-9]|", "r/.*/" ]
cache = "/etc/lvm/.cache"
to
devices {
dir = "/dev"
scan = [ "/dev" ]
# filter = [ "a|^/dev/md[2-9]|", "a|^/dev/md[12][0-9]|", "r/.*/" ]
filter = [ "a/.*/" ]
cache = "/etc/lvm/.cache"
then run "pvcreate /dev/sda4" and change the file back again afterwords
Many thanks for your guide lazyfox :D
2) Depending on your braveness it might be wise to shutdown your readynas before pulling out the old drive
5) run "print free" in parted to view the free space and use the start end end numbers with the mkpart command
8 ) lvm doesn't run interactively, but the commads like pvcreate work from the regular commandline
9) If you get " Device /dev/sda4 not found (or ignored by filtering)." then there is a filter in lvm.conf, edit it using your favourite editor
root@Readynas:~# pico /etc/lvm/lvm.conf
change
devices {
dir = "/dev"
scan = [ "/dev" ]
filter = [ "a|^/dev/md[2-9]|", "a|^/dev/md[12][0-9]|", "r/.*/" ]
cache = "/etc/lvm/.cache"
to
devices {
dir = "/dev"
scan = [ "/dev" ]
# filter = [ "a|^/dev/md[2-9]|", "a|^/dev/md[12][0-9]|", "r/.*/" ]
filter = [ "a/.*/" ]
cache = "/etc/lvm/.cache"
then run "pvcreate /dev/sda4" and change the file back again afterwords
Many thanks for your guide lazyfox :D
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!