Portál AbcLinuxu, 24. října 2025 19:42
. I když spustím gparted tak to tam tak je
. Prosím poraďte. Debian Linux 64 bit.
Řešení dotazu:
debian:/home/martin# fdisk -l Disk /dev/sda: 400.0 GB, 400087375360 bytes 255 heads, 63 sectors/track, 48641 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x49494948 Device Boot Start End Blocks Id System /dev/sda1 * 1 12748 102398278+ 7 HPFS/NTFS /dev/sda2 12749 25255 100462477+ f W95 Ext'd (LBA) /dev/sda3 25256 35893 85449735 83 Linux /dev/sda4 35894 48641 102398310 83 Linux /dev/sda5 12749 24498 94381843+ 7 HPFS/NTFS /dev/sda6 24499 25255 6080571 82 Linux swap / Solaris Disk /dev/sdb: 313.7 GB, 313736855040 bytes 255 heads, 63 sectors/track, 38143 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x848c848c Device Boot Start End Blocks Id System /dev/sdb1 1 38143 306383616 83 Linux Disk /dev/sdc: 500.1 GB, 500107860992 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x687dc5cd Device Boot Start End Blocks Id System /dev/sdc1 1 60801 488384001 83 Linux
debian:/home/martin# dmesg | grep sdb [ 7.656104] sd 3:0:1:0: [sdb] 612767295 512-byte hardware sectors (313737 MB) [ 7.656118] sd 3:0:1:0: [sdb] Write Protect is off [ 7.656120] sd 3:0:1:0: [sdb] Mode Sense: 00 3a 00 00 [ 7.656144] sd 3:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.656186] sd 3:0:1:0: [sdb] 612767295 512-byte hardware sectors (313737 MB) [ 7.656199] sd 3:0:1:0: [sdb] Write Protect is off [ 7.656201] sd 3:0:1:0: [sdb] Mode Sense: 00 3a 00 00 [ 7.656224] sd 3:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.656232] sdb: sdb1 [ 7.661138] sd 3:0:1:0: [sdb] Attached SCSI disk
debian:/home/martin# hdparm -I /dev/sdb
/dev/sdb:
ATA device, with non-removable media
Model Number: SAMSUNG HD103UJ
Serial Number: S13PJ90SC19192
Firmware Revision: 1AA01118
Standards:
Used: ATA-8-ACS revision 3b
Supported: 7 6 5 4
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: 612767295
device size with M = 1024*1024: 299202 MBytes
device size with M = 1000*1000: 313736 MBytes (313 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: disabled
Recommended acoustic management value: 254, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 udma7
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
* Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
Media Card Pass-Through
* General Purpose Logging feature set
* 64-bit World wide name
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* unknown 76[12]
DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
226min for SECURITY ERASE UNIT. 226min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50024e92198d85a
NAA : 5
IEEE OUI : 24e9
Unique ID : 2198d85a
Checksum: correct
Mám, zcela tentýž.
ATA device, with non-removable media
Model Number: SAMSUNG HD103UJ
Serial Number: S13PJ1MQ706389
Firmware Revision: 1AA01113
Moje konfigurace:
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
device size with M = 1024*1024: 953869 MBytes
device size with M = 1000*1000: 1000204 MBytes (1000 GB)
Zkoušel jsi ten parametr -N, jak už ti zde někdo doporučoval?
.
debian:/home/martin# hdparm -N /dev/sdb /dev/sdb: max sectors = 612767295/1953525168, HPA is enabled
debian:/home/martin# hdparm -Np1953525168 /dev/sdb /dev/sdb: setting max visible sectors to 1953525168 (permanent) max sectors = 1953525168/1953525168, HPA is disabled
.
debian:/home/martin# dd if=/dev/zero of=/dev/sdb bs=1MUvidím jak to dopadne, protože Hdparm -N mi už nepíše enabled
.
debian:/home/martin# hdparm -I /dev/sdb
/dev/sdb:
ATA device, with non-removable media
Model Number: SAMSUNG HD103UJ
Serial Number: S13PJ90SC19192
Firmware Revision: 1AA01118
Standards:
Used: ATA-8-ACS revision 3b
Supported: 7 6 5 4
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
device size with M = 1024*1024: 953869 MBytes
device size with M = 1000*1000: 1000204 MBytes (1000 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: disabled
Recommended acoustic management value: 254, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 udma7
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
* Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
Media Card Pass-Through
* General Purpose Logging feature set
* 64-bit World wide name
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* unknown 76[12]
DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
226min for SECURITY ERASE UNIT. 226min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50024e92198d85a
NAA : 5
IEEE OUI : 24e9
Unique ID : 2198d85a
Checksum: correct
Moc vám všem ještě jednou děkuji.
hdparm -z /dev/sdb
.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.