Reply
Visitor
hth0923
Posts: 2
Registered: ‎02-24-2012
0

3TB WD WD30EZRX couldn't be used under ubuntu 10.04, Please Help!

Hi All,

 

I have been searching around for this topic, found quite number sources from forum; website etc.... I have tried every single method that each source suggested. But it's been a week, my drive is still not working. I hope someone could really give me a hand on it and get the ball rolling.

 

OS: Ubuntu 10.04 ( 2.6.32.38 )

 

Target:


Partition: 2 x 1.5TB
Table: GPT
File system: ext4
Purpose: Storage & file server

Program used: Gparted GUI & Commend line

 

Gparted GUI:

 

1, Device > Create Partition Table > select GTP under Advanced>press apply
2, Partition > New >
-- Free space preceding (Mib): 2 (Tried 1 as well, no luck)
-- New Size (Mib): 1430792
-- Free space following (MiB):1430792
-- Create as: Primary Partition
-- File system: ext4
-- unchecked Round to cylinders
3, Partition > New >
-- Free space preceding (Mib): 0
-- New Size (Mib): 1430792
-- Free space following (MiB): 0
-- Create as: Primary Partition
-- File system: ext4
-- unchecked Round to cylinders

After a while error occur, and the whole system very slow, it took 10 minutes to restart the system. I have saved the details below:

 

GParted 0.5.1
Libparted 2.2
Create Primary Partition #1 (ext4, 1.36 TiB) on /dev/sdf 00:02:47 ( ERROR )

create empty partition 00:00:01 ( SUCCESS )

path: /dev/sdf1
start: 4096
end: 2930266111
size: 2930262016 (1.36 TiB)
set partition type on /dev/sdf1 00:00:00 ( SUCCESS )

new partition type: ext4
create new ext4 file system 00:02:46 ( ERROR )

mkfs.ext4 -j -O extent -L "" /dev/sdf1

Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=1 blocks, Stripe width=0 blocks
91578368 inodes, 366282752 blocks
18314137 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
11179 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
Writing inode tables: done 
mke2fs 1.41.11 (14-Mar-2010)
ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir 
========================================
Create Primary Partition #2 (ext4, 1.36 TiB) on /dev/sdf ( ERROR )
========================================

 

Gparted Commend line:

 

 

root@huan-linux:~# parted /dev/sdf
GNU Parted 2.2
Using /dev/sdf
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt 
Warning: The existing disk label on /dev/sdf will be destroyed and all data on
this disk will be lost. Do you want to continue?
Yes/No? Yes 
(parted) print
Model: ATA WDC WD30EZRX-00M (scsi)
Disk /dev/sdf: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
(parted) mkpart primary 1MB 1500GB 
(parted) mkpart primary 1500GB 3001GB
(parted) print 
Model: ATA WDC WD30EZRX-00M (scsi)
Disk /dev/sdf: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 1500GB 1500GB primary
2 1500GB 3001GB 1501GB primary
(parted) q 
Information: You may need to update /etc/fstab.
root@huan-linux:~# mkfs.ext4 /dev/sdf1
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=1 blocks, Stripe width=0 blocks
91553792 inodes, 366210560 blocks
18310528 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
11176 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
Writing inode tables: done 
ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir
root@huan-linux:~# mkfs.ext4 /dev/sdf2
mke2fs 1.41.11 (14-Mar-2010)
Warning: could not erase sector 2: Attempt to write block from filesystem resulted in short write
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=1 blocks, Stripe width=0 blocks
91594752 inodes, 366355712 blocks
18317785 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
11181 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
Warning: could not read block 0: Attempt to read block from filesystem resulted in short read
Warning: could not erase sector 0: Attempt to write block from filesystem resulted in short write
Writing inode tables: done 
ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir

 

 

Above seems working nicely, and ready to roll. Unfortunately, the OS become very slow again. restarted the system, there is no partitions being created.

 

Could anyone give me a warm hand here :smileysad: :smileysad:.

 

Many thanks
hth0923

Honored Contributor
Alucardx23
Posts: 4,266
Registered: ‎01-14-2012
0

Re: 3TB WD WD30EZRX couldn't be used under ubuntu 10.04, Please Help!

Don't know a lot about Linux, but you can try using DLG on a windows computer, to check if the HDD has any problems.

 

http://wdc.custhelp.com/app/answers/detail/a_id/940/session/L3RpbWUvMTMzMDE5Nzc2MC9zaWQvVjczMVNCUms%...

Click the Kudos star to say thank you for helpful posts and be sure to come back and 'Accept as Solution' under options for the post that solved your issue.
Visitor
hth0923
Posts: 2
Registered: ‎02-24-2012
0

Re: 3TB WD WD30EZRX couldn't be used under ubuntu 10.04, Please Help!

Hi Alucardx23,

 

Many thanks for your answer.

 

I have tried with DLG on windows 7. It took absolutely long time. Finally, I got 65533 bad sectors on this brand new drive. At the moment, I am very sure the drive is faulty somehow. 

 

I will get the new replacement very soon. I will test it on with the new drive on Windows; Linux and Mac. I will post the news sooner later.

 

Thanks again.

 

Regards,

hth0923

Frequent Advisor
rtguille
Posts: 65
Registered: ‎03-26-2011
0

Re: 3TB WD WD30EZRX couldn't be used under ubuntu 10.04, Please Help!

For advanced users, gdisk (an equivalent of fdisk but for gpt) can be used.

 

Once you confirmed that the partitions were created, maybe you should try read (or write) the partition to see if there is a problem with the disk (unlikely but not impossible). If you are confident you may use 'dd' but keep in mind that a wrong usage might wipe a disk if used incorrectly.

 

Can you create the filesystem without any parameters or it is the same result?

 

 

Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines
Copyright © 2001 - 2013 Western Digital Corporation, All rights reserved. | Trademarks | Privacy | Terms of Service | Terms of Use | Copyright | Contact WD