• March 18, 2024, 08:14:03 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: 1 2 3 [4] 5 6 ... 8

Author Topic: 4K Physical Sector Performance issue  (Read 99535 times)

TimeZlicer

  • Level 2 Member
  • **
  • Posts: 78
    • TimeZlicer
Re: 4K Physical Sector Performance issue
« Reply #45 on: March 18, 2010, 04:44:15 PM »

enter
Code: [Select]
export TERM=xtermand press enter a few times and see if you still getting double echo

then enter
Code: [Select]
export TERM=linuxand press enter a few times and see if you still getting double echo

Er.. sorry I don't quite get what you meant...
any guide?

Thank You
Logged

dcmwai

  • Level 2 Member
  • **
  • Posts: 42
Re: 4K Physical Sector Performance issue
« Reply #46 on: March 18, 2010, 06:14:21 PM »

Still the same...
Logged

dcmwai

  • Level 2 Member
  • **
  • Posts: 42
Re: 4K Physical Sector Performance issue
« Reply #47 on: March 19, 2010, 05:55:49 AM »

Finally got it working...

Under putty --> Telnet
Disable "Retuen Key sends. Telnet New Line instate of ^M"

That will fix the prompt things and I can do the fdisk now..

Formatting now...
let see what happen next.
Logged

TimeZlicer

  • Level 2 Member
  • **
  • Posts: 78
    • TimeZlicer
Re: 4K Physical Sector Performance issue
« Reply #48 on: March 19, 2010, 07:10:15 AM »

great to hear that! post your success story!

btw i have never got your double echo problem in windows and linux,
are you using mac?
Finally got it working...

Under putty --> Telnet
Disable "Retuen Key sends. Telnet New Line instate of ^M"

That will fix the prompt things and I can do the fdisk now..

Formatting now...
let see what happen next.
Logged

dcmwai

  • Level 2 Member
  • **
  • Posts: 42
Re: 4K Physical Sector Performance issue
« Reply #49 on: March 19, 2010, 08:23:55 AM »

Hum... No success story...

After I reboot ...
The Volume is gone...
I really have no idea why it happen....

I just do the fdisk.
mkswap /dev/sda1
mke2fs -j /dev/sda2

that all :(

I'm on windows xp.
Logged

GideonOmega

  • Level 2 Member
  • **
  • Posts: 32
Re: 4K Physical Sector Performance issue
« Reply #50 on: March 19, 2010, 09:51:37 AM »

when you do the resize on part 1,2 if you have two disks setup in raid 1 will that maintain your Raid setup? it looks like it will and I'm in the same boat as dcmwai with the same drives -- not that I have an issue re-formating if required but am I correct in assuming you can just do a resize of the partitions instead of formating?
Logged

TimeZlicer

  • Level 2 Member
  • **
  • Posts: 78
    • TimeZlicer
Re: 4K Physical Sector Performance issue
« Reply #51 on: March 19, 2010, 03:45:23 PM »

could you post the output of hd_verify?
Code: [Select]
[root@DNS-343 ~]$ hd_verify
Hum... No success story...

After I reboot ...
The Volume is gone...
I really have no idea why it happen....

I just do the fdisk.
mkswap /dev/sda1
mke2fs -j /dev/sda2

that all :(

I'm on windows xp.
Logged

dcmwai

  • Level 2 Member
  • **
  • Posts: 42
Re: 4K Physical Sector Performance issue
« Reply #52 on: March 19, 2010, 10:56:43 PM »

I'm actually remove the raid and using single disk now...

But still have that issue...

Really wonder why it cannot mount.
Format it wrongly?

hum...
« Last Edit: March 20, 2010, 04:54:54 AM by dcmwai »
Logged

TimeZlicer

  • Level 2 Member
  • **
  • Posts: 78
    • TimeZlicer
Re: 4K Physical Sector Performance issue
« Reply #53 on: March 21, 2010, 06:09:27 PM »

i think you should read http://forums.dlink.com/index.php?topic=11631.msg69234#msg69234 again
I'm actually remove the raid and using single disk now...

But still have that issue...

Really wonder why it cannot mount.
Format it wrongly?

hum...
Logged

dcmwai

  • Level 2 Member
  • **
  • Posts: 42
Re: 4K Physical Sector Performance issue
« Reply #54 on: March 22, 2010, 08:10:53 AM »

Thank TimeZlicer,

Finally get it working.


Ah what a long way.

Logged

TimeZlicer

  • Level 2 Member
  • **
  • Posts: 78
    • TimeZlicer
Re: 4K Physical Sector Performance issue
« Reply #55 on: March 22, 2010, 06:22:26 PM »

cool! you can finally post your success story!  ;)
Thank TimeZlicer,

Finally get it working.


Ah what a long way.
Logged

dP21

  • Level 1 Member
  • *
  • Posts: 10
Re: 4K Physical Sector Performance issue
« Reply #56 on: March 27, 2010, 06:48:23 AM »

TimeZlicer thanks for your help on this.  I have a WD20EARS and DNS-323.  

I tried doing the partition myself using the steps you laid out but my 4th partition's numbers didn't match.  I didn't think anything of it and comitted the changes and rebooted.  Upon reboot the drive light is showing up purple, so looks like it has corruption.  Not a big deal since no data on it, but what do you think I'm doing wrong.  Here's my fdisk results.

Code: [Select]

The number of cylinders for this disk is set to 243201.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63     1060289      530113+  82  Linux swap / Solaris
/dev/sda2         2088450  3907024064  1952467807+  83  Linux
/dev/sda4         1060290     2088449      514080   83  Linux

Partition table entries are not in disk order

Command (m for help): d
Partition number (1-4): 1

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First sector (63-3907029167, default 63): 64
Last sector, +sectors or +size{K,M,G} (64-1060289, default 1060289):
Using default value 1060289

Command (m for help): d
Partition number (1-4): 2
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First sector (63-3907029167, default 63): 3164808
Last sector, +sectors or +size{K,M,G} (3164808-3907029167, default 3907029167):
Using default value 3907029167

Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): 82
Changed system type of partition 1 to 82 (Linux swap / Solaris)

Command (m for help): p

Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              64     1060289      530113   82  Linux swap / Solaris
/dev/sda2         3164808  3907029167  1951932180   83  Linux
/dev/sda4         1060290     2088449      514080   83  Linux

Partition table entries are not in disk order
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
Logged

TimeZlicer

  • Level 2 Member
  • **
  • Posts: 78
    • TimeZlicer
Re: 4K Physical Sector Performance issue
« Reply #57 on: March 27, 2010, 04:43:43 PM »

did you mkswap partition 1, format partition 2 and run hd_verify before you reboot?
if not, surely you will get some error,
because the data in the original partition 4 is assuming that partition 1 and 2 are already formated
(i assumed you have chosen ext3, if not drop the -j option in mke2fs
Code: [Select]
mkswap /dev/sda1
mke2fs -j -m 0 -T largefile4 /dev/sda2
hd_verify -w
TimeZlicer thanks for your help on this.  I have a WD20EARS and DNS-323.  

I tried doing the partition myself using the steps you laid out but my 4th partition's numbers didn't match.  I didn't think anything of it and comitted the changes and rebooted.  Upon reboot the drive light is showing up purple, so looks like it has corruption.  Not a big deal since no data on it, but what do you think I'm doing wrong.  Here's my fdisk results.

in your case you can use 2088456 for partition 2
Code: [Select]
ceiling(2088450 / 8) * 8 = 2088456
Logged

dP21

  • Level 1 Member
  • *
  • Posts: 10
Re: 4K Physical Sector Performance issue
« Reply #58 on: March 27, 2010, 08:20:04 PM »

You're right, I didn't format the swap and 2nd partition.  I was able to successfully execute the mkswap command but the mke2fs (yes, ext2 so no -j option) yields that the partition is still mounted and I can't format.  How do I go about formatting it?  I tried the -F (force) option but that didn't work. 
Logged

TimeZlicer

  • Level 2 Member
  • **
  • Posts: 78
    • TimeZlicer
Re: 4K Physical Sector Performance issue
« Reply #59 on: March 28, 2010, 06:08:55 PM »

if you have created partition 2 correctly using fdisk,
this should be able to format partition 2 as ext2
Code: [Select]
mke2fs -m 0 /dev/sda2if you still face problem, please post some transcript,
or it would be difficult to help you
You're right, I didn't format the swap and 2nd partition.  I was able to successfully execute the mkswap command but the mke2fs (yes, ext2 so no -j option) yields that the partition is still mounted and I can't format.  How do I go about formatting it?  I tried the -F (force) option but that didn't work. 
Logged
Pages: 1 2 3 [4] 5 6 ... 8