Aşağıdaki diskte, işletim sistemi tarafında max_sector_kb ne olmalı?
root@e8470p:~# hdparm -I /dev/sdb
/dev/sdb:
ATA device, with non-removable media
Model Number: ST1000LM014-1EJ164
Serial Number: W381VN7C
Firmware Revision: SM16
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x001f)
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 1953525168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 953869 MBytes
device size with M = 1000*1000: 1000204 MBytes (1000 GB)
# cat /sys/block/sdb/queue/max_sectors_kb
512
# cat /sys/block/sdb/queue/max_hw_sectors_kb
32767
Aşağıdaki gibi boyutları değiştiresek nasıl olur?
echo 4096 > /sys/block/sdb/queue/max_sectors_kb
root@e8470p:~# hdparm -I /dev/sdb
/dev/sdb:
ATA device, with non-removable media
Model Number: ST1000LM014-1EJ164
Serial Number: W381VN7C
Firmware Revision: SM16
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x001f)
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 1953525168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 953869 MBytes
device size with M = 1000*1000: 1000204 MBytes (1000 GB)
# cat /sys/block/sdb/queue/max_sectors_kb
512
# cat /sys/block/sdb/queue/max_hw_sectors_kb
32767
Aşağıdaki gibi boyutları değiştiresek nasıl olur?
echo 4096 > /sys/block/sdb/queue/max_sectors_kb
Yorumlar
Yorum Gönder