xfs
[Top] [All Lists]

Advanced format disk

To: xfs@xxxxxxxxxxx
Subject: Advanced format disk
From: Zhu Han <schumi.han@xxxxxxxxx>
Date: Mon, 7 Nov 2011 10:12:30 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=NHpDhRfDSfwrgKhpchkcfYjTe91vua0WPpYf4ROu8gw=; b=VCqrWnryeFp9lxyL/nPwOqubgtns2o0Bt7egTFehQrRNPzb/NEyjH0vbqw3kAKmp+w HpoyaikbXm+snEF7CVajuwwzsdJ/T4EQ5BFR5sIZCaDdIhXliTZxAslU/reyRuMU6V8W GhOABUVgoCoyiD/J2AT7EfMYb/yb78ZEJ5mk8=
Hi,

I got several advanced format disk, whose physical size is 4096 bytes, but its logical size is 512 bytes:
$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 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/sdb doesn't contain a valid partition table

Is there any special tuning knob I should notice before formating it? IMHO, set the sector size as 4096 bytes is enough. The default block size is 4096 bytes.
$ sudo xfs_info /dev/sdb
meta-data="" isize=256    agcount=4, agsize=45785912 blks
                  =                       sectsz=4096  attr=2
data          =                       bsize=4096   blocks=183143646, imaxpct=25
                  =                       sunit=0      swidth=0 blks
naming      =                        version 2              bsize=4096   ascii-ci=0
log            =internal               bsize=4096   blocks=89425, version=2
                 =                       sectsz=4096  sunit=1 blks, lazy-count=1
realtime   =none                   extsz=4096   blocks=0, rtextents=0


best regards,
韩竹(Zhu Han)

<Prev in Thread] Current Thread [Next in Thread>