NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
pixel81
Jun 01, 2013Guide
HOWTO: Prepare a 4TB GPT Drive for Duo/NV+ v2 USB3.0
After experimenting with a bare drive and USB3.0 docking station, I'm able to connect and use a 4TB Drive on a ReadyNAS NV+ v2 USB3.0 port :-D
Here are the steps that were used.
Notes:
The drive connected to the PC was identified as /dev/sdc (determined by fdisk -l).
After the drive was partitioned (using parted), it had a single partition. Once partitioned, it was referred to as /dev/sdc1 - where 1 indicates the 1st (and in this case, the only) partition.
The commands were executed when logged in as root, if you're not logged in as root, you may have to prefix each command with sudo (super user do)
Software:
- Linux - Centos 6.2 - Live CD iso here: http://vault.centos.org/6.2/isos/i386/
Hardware:
- Seagate ST4000DM000
- Uspeed 6618SUS3 (Anker 68UPSHDDS-BU) USB3.0 & eSATA Hard Drive Docking Station
################################################################################
# fdisk -l
################################################################################
Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
################################################################################
# parted /dev/sdc
################################################################################
GNU Parted 2.1
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)
################################################################################
# (parted) mklabel gpt
################################################################################
# Comment: if the drive has an existing label, the following message will print
# Type Yes
################################################################################
Warning: The existing disk label on /dev/sdc will be destroyed and all data on
this disk will be lost. Do you want to continue?
Yes/No? Yes
################################################################################
# (parted) unit TB
################################################################################
################################################################################
# (parted) mkpart primary 0 -0
################################################################################
################################################################################
# (parted) print
################################################################################
Model: ATA ST4000DM000-1F21 (scsi)
Disk /dev/sdc: 4.00TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 0.00TB 4.00TB 4.00TB primary
################################################################################
# (parted) quit
################################################################################
Information: You may need to update /etc/fstab.
################################################################################
# mkfs.ext4 /dev/sdc1
################################################################################
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=1 blocks, Stripe width=0 blocks
244195328 inodes, 976754176 blocks
48837708 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
29809 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
################################################################################
# Comment:
# Now you can disconnect the drive from the PC and connect to the ReadyNAS v2
# Some may prefer to use mkfs.ext3
################################################################################
Here are the steps that were used.
Notes:
The drive connected to the PC was identified as /dev/sdc (determined by fdisk -l).
After the drive was partitioned (using parted), it had a single partition. Once partitioned, it was referred to as /dev/sdc1 - where 1 indicates the 1st (and in this case, the only) partition.
The commands were executed when logged in as root, if you're not logged in as root, you may have to prefix each command with sudo (super user do)
Software:
- Linux - Centos 6.2 - Live CD iso here: http://vault.centos.org/6.2/isos/i386/
Hardware:
- Seagate ST4000DM000
- Uspeed 6618SUS3 (Anker 68UPSHDDS-BU) USB3.0 & eSATA Hard Drive Docking Station
################################################################################
# fdisk -l
################################################################################
Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
################################################################################
# parted /dev/sdc
################################################################################
GNU Parted 2.1
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)
################################################################################
# (parted) mklabel gpt
################################################################################
# Comment: if the drive has an existing label, the following message will print
# Type Yes
################################################################################
Warning: The existing disk label on /dev/sdc will be destroyed and all data on
this disk will be lost. Do you want to continue?
Yes/No? Yes
################################################################################
# (parted) unit TB
################################################################################
################################################################################
# (parted) mkpart primary 0 -0
################################################################################
################################################################################
# (parted) print
################################################################################
Model: ATA ST4000DM000-1F21 (scsi)
Disk /dev/sdc: 4.00TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 0.00TB 4.00TB 4.00TB primary
################################################################################
# (parted) quit
################################################################################
Information: You may need to update /etc/fstab.
################################################################################
# mkfs.ext4 /dev/sdc1
################################################################################
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=1 blocks, Stripe width=0 blocks
244195328 inodes, 976754176 blocks
48837708 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
29809 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
################################################################################
# Comment:
# Now you can disconnect the drive from the PC and connect to the ReadyNAS v2
# Some may prefer to use mkfs.ext3
################################################################################
3 Replies
Replies have been turned off for this discussion
- devhenAspirantThanks for that. I assumed formatting the drive with a separate Linux machine would do the trick but the only Linux systems I had on had were in virtual machines. So I've temporarily created a 2TB ext3 filesystem on my ST4000DM000 so I could backup my NAS contents to it.
Have you tried actually using a ST4000DM000 inside the NAS? I have the Duo v2 and I've got a second ST4000DM000 coming in the mail so I will know soon but it would be great to hear from others that have tried this ST4000DM000 drive in the NV+ v2 or Duo v2. I'm hoping X-Raid2 will notice the full capacity and be able to expand the NAS to 4tb. I currently have 2x2tb drives in it. - jmurray1AspirantPerfect. This was just what I needed to partition and format my 8TB LaCie drive so that the ReadyNas would recognize and use it.
Too bad I couldn't ReadyNas couldn't do it natively. If parted was installed I could have done it from the command line, but no such luck. - Ja5onAspirantBrilliant post OP!
That has caused me much joy.
Thank you.
Related Content
NETGEAR Academy

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