View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 38 posts ] 
Go to page Previous  1, 2, 3  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sat Jul 31, 2010 7:37 pm 
Offline
Joined: Wed Mar 30, 2005 7:09 am
Posts: 104
Location: Dearborn, MI
Graysky, it would appear that you were right. My diskless frontend was freezing up quite a bit, so I decided to reformat the WD EARS drive as you suggested. So far so good. I booted into Arch Linux, which has fdisk version 2.17.2, and my end results are as seen below. Thanks again for your research!

Code:
Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
63 heads, 63 sectors/track, 984386 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000ba3ab

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  3907029167  1953513560   83  Linux

Code:
[root@Mythtv crazyhorse]# hdparm -t --direct /dev/sdb

/dev/sdb:
 Timing O_DIRECT disk reads:  346 MB in  3.00 seconds = 115.23 MB/sec

_________________
LinHES 8.4.3 Backend on MSI Z97 PC Mate with Pentium CPU, 16 GB DDR3 RAM, Two HD Homeruns + One HD Homerun Prime, 20 TB of storage


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 01, 2010 12:14 am 
Offline
Joined: Mon Aug 14, 2006 8:24 pm
Posts: 320
Location: Melbourne, Australia
Graysky,

I reinstalled on the 500G drive and went to reformat the WD10EARS but fdisk it did not like the -c option
Code:
[mythtv@Silverstone ~]$ fdisk -c -u /dev/sda
fdisk: invalid option -- 'c'

Usage: fdisk [-b SSZ] [-u] DISK     Change partition table
       fdisk -l [-b SSZ] [-u] DISK  List partition table(s)
       fdisk -s PARTITION           Give partition size(s) in blocks
       fdisk -v                     Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors

[mythtv@Silverstone ~]$ fdisk -v
fdisk (util-linux-ng 2.14.2)
Checking the version shows it is only 2.14.2 whereas your wiki refers to 2.17.2.
Do I need to update?
If so, how do I do it? Pacman still want to install 2.14.2.

_________________
Intel DG965WH, Dvico DVB-T Lite x2, HDHR, Gigabyte GT220, KingstonSSD, WD20EARS version=latest


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 01, 2010 6:08 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Boot to the Arch Linux live CD and partition it from fdisk there. I believe the LinHES repos are a bit dated.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 01, 2010 6:47 pm 
Offline
Joined: Mon Aug 14, 2006 8:24 pm
Posts: 320
Location: Melbourne, Australia
I have since read that Ubuntu 10.4 also has 2.17.2. I assume that would work just as well and I have a disk for that.

_________________
Intel DG965WH, Dvico DVB-T Lite x2, HDHR, Gigabyte GT220, KingstonSSD, WD20EARS version=latest


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 02, 2010 3:36 am 
Offline
Joined: Mon Aug 14, 2006 8:24 pm
Posts: 320
Location: Melbourne, Australia
I reformatted using fdisk -c -u with Ubuntu and now it looks like
Code:
[mythtv@Silverstone ~]$ sudo fdisk -ul

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
81 heads, 63 sectors/track, 382818 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000e1212

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048  1953525167   976761560   83  Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x7afd569b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63    10233404     5116671   83  Linux
/dev/sdb2        10233405    12257594     1012095   83  Linux
/dev/sdb3        12257595   976768064   482255235   83  Linux
Is that now correct for my WD10EARS (sda)?

_________________
Intel DG965WH, Dvico DVB-T Lite x2, HDHR, Gigabyte GT220, KingstonSSD, WD20EARS version=latest


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 02, 2010 6:52 am 
Offline
Joined: Wed Mar 30, 2005 7:09 am
Posts: 104
Location: Dearborn, MI
nicom- that looks right now. Hopefully the LinHES repository can be updated to include the latest rendition of util-linux-ng/fdisk. I had the same problem-not being able to download the version needed. But like graysky said, and as you did, booting the live cd made all the difference. Hopefully this will help others. As long as one uses fdisk version 2.17.2 or newer, and uses
Code:
# fdisk -c -u /dev/sdX
(where "X" is your disk label), it will properly align the disk.

After a couple of days and some spousal usage, the waf rating went back up to acceptable levels. Now if I could get it to pay the bills and take out the trash....

_________________
LinHES 8.4.3 Backend on MSI Z97 PC Mate with Pentium CPU, 16 GB DDR3 RAM, Two HD Homeruns + One HD Homerun Prime, 20 TB of storage


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 02, 2010 4:44 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Yeah, that looks aligned to me. Enjoy.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 02, 2010 4:57 pm 
Offline
Joined: Mon Aug 14, 2006 8:24 pm
Posts: 320
Location: Melbourne, Australia
Thanks for your help guys.

_________________
Intel DG965WH, Dvico DVB-T Lite x2, HDHR, Gigabyte GT220, KingstonSSD, WD20EARS version=latest


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 05, 2010 9:33 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
thanks for this guys I almost blindly bought one of these green drives. Now I know and knowing is .....
why do the sectors still show up as 512 kb? Is Linux not ready for real 4K sectors?

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 07, 2010 5:43 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
It's ready - no reason not to use one of these drives dude.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2010 1:52 pm 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
Q. Once you formatted these with Ubuntu's latest...

Will a new install try to format it with an old fdisk, or will it install onto the 'proper' format you have pre-done ?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2010 3:13 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
snaproll wrote:
Q. Once you formatted these with Ubuntu's latest...

Will a new install try to format it with an old fdisk, or will it install onto the 'proper' format you have pre-done ?


Haven't used the ubunutu installer in ages. If you pre-made your partitions I can't imagine that any reputable distro wouldn't honor them if it has an option to do so. I believe you can leave them intact as an option in u's installer.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: DOH!!!
PostPosted: Wed Oct 13, 2010 11:28 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
I made three boot partitions using fdisk on a live ubuntu cd but it doesn't seem happy


Code:
ubuntu@ubuntu:~$ sudo fdisk -ul

Disk /dev/sda: 800.2 GB, 800166076416 bytes
255 heads, 63 sectors/track, 97281 cylinders, total 1562824368 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffe4f7db

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    41945087    20971520   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2        41945088    44042239     1048576   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3        44042240  1562824367   759391064   83  Linux
Partition 3 does not end on cylinder boundary.
[/code]

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 14, 2010 10:29 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
Ok so I think I have found the issue according to this page http://www.linuxconfig.org/linux-wd-ear ... ced-format (read down to the section about multi-partitions)
You have to make partitions in 8 sector increments. So if you end on ***40 you start the next partition on ***48

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 15, 2010 6:34 am 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
OK- Let's say you were going to put these in a DNS-321 Network Server...

It does the format on it's drives ..... Anyone know if it formats the WDs properly ?

Edit later: No.

D-link website says:

Does ShareCenter support Western Digital™ Advanced Format hard drives?

We regret to inform you that we can not support Western Digital’s new Desktop disk drives with Advanced Formatting Technology for use in our ShareCenter NAS devices.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 38 posts ] 
Go to page Previous  1, 2, 3  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 130 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu