Geez, anybody knows where I can find a manpage-like thing for libata?
I'm building my new array (md-based) and I want NCQ on and the write-back cache on the disks off.
Controller is ata_piix, disks are Seagate 1 TB ES.2, so things should work with NCQ. 2.6.24 right now, 2.6.26 tomorrow.
However, inspecting boot messages I have a hard time figuring out what capabilities I have or can activate. So there's questions:
%%
What in the world are DPO and FUA?
How can I tell whether NCQ queuing is supported and/or active?
Here's the scoop:
Thanks!Code:scsi0 : ata_piix scsi1 : ata_piix ata1: SATA max UDMA/133 cmd 0x20c8 ctl 0x20e4 bmdma 0x20a0 irq 19 ata2: SATA max UDMA/133 cmd 0x20c0 ctl 0x20e0 bmdma 0x20a8 irq 19 ata1.00: ATA-8: ST31000340NS, SN05, max UDMA/133 ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32) ata1.01: ATA-8: ST31000340NS, SN05, max UDMA/133 ata1.01: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32) ata1.00: configured for UDMA/133 ata1.01: configured for UDMA/133 ata2.00: ATA-8: ST31000340NS, SN05, max UDMA/133 ata2.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32) ata2.01: ATA-8: ST31000340NS, SN05, max UDMA/133 ata2.01: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32) ata2.00: configured for UDMA/133 ata2.01: configured for UDMA/133 scsi 0:0:0:0: Direct-Access ATA ST31000340NS SN05 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: unknown partition table sd 0:0:0:0: [sda] Attached SCSI disk sd 0:0:0:0: Attached scsi generic sg0 type 0 scsi 0:0:1:0: Direct-Access ATA ST31000340NS SN05 PQ: 0 ANSI: 5 sd 0:0:1:0: [sdb] 1953525168 512-byte hardware sectors (1000205 MB) sd 0:0:1:0: [sdb] Write Protect is off sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00 sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:1:0: [sdb] 1953525168 512-byte hardware sectors (1000205 MB) sd 0:0:1:0: [sdb] Write Protect is off sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00 sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sdb: unknown partition table sd 0:0:1:0: [sdb] Attached SCSI disk sd 0:0:1:0: Attached scsi generic sg1 type 0 scsi 1:0:0:0: Direct-Access ATA ST31000340NS SN05 PQ: 0 ANSI: 5 sd 1:0:0:0: [sdc] 1953525168 512-byte hardware sectors (1000205 MB) sd 1:0:0:0: [sdc] Write Protect is off sd 1:0:0:0: [sdc] Mode Sense: 00 3a 00 00 sd 1:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 1:0:0:0: [sdc] 1953525168 512-byte hardware sectors (1000205 MB) sd 1:0:0:0: [sdc] Write Protect is off sd 1:0:0:0: [sdc] Mode Sense: 00 3a 00 00 sd 1:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sdc: unknown partition table sd 1:0:0:0: [sdc] Attached SCSI disk sd 1:0:0:0: Attached scsi generic sg2 type 0 scsi 1:0:1:0: Direct-Access ATA ST31000340NS SN05 PQ: 0 ANSI: 5 sd 1:0:1:0: [sdd] 1953525168 512-byte hardware sectors (1000205 MB) sd 1:0:1:0: [sdd] Write Protect is off sd 1:0:1:0: [sdd] Mode Sense: 00 3a 00 00 sd 1:0:1:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 1:0:1:0: [sdd] 1953525168 512-byte hardware sectors (1000205 MB) sd 1:0:1:0: [sdd] Write Protect is off sd 1:0:1:0: [sdd] Mode Sense: 00 3a 00 00 sd 1:0:1:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sdd: unknown partition table sd 1:0:1:0: [sdd] Attached SCSI disk sd 1:0:1:0: Attached scsi generic sg3 type 0



Adv Reply


Bookmarks