Difference between revisions of "Sd"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
[[/dev/]]sda1 | [[/dev/]]sda1 | ||
− | [[SD card]] | + | ===[[SD card]]=== |
[[/dev/]]sdX | [[/dev/]]sdX | ||
[[/sys/block/]]sda/ | [[/sys/block/]]sda/ | ||
Line 16: | Line 16: | ||
Oct 22 11:25:58 SERVER kernel: sd 1:0:0:0: [sdb] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB) | Oct 22 11:25:58 SERVER kernel: sd 1:0:0:0: [sdb] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB) | ||
− | * /dev/sdf | + | * <code>[[/dev/sdf]]</code> |
+ | See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html | ||
Line 28: | Line 29: | ||
* <code>/dev/[[sd]]a1</code> | * <code>/dev/[[sd]]a1</code> | ||
* Terraform [[ebs_block_device]] | * Terraform [[ebs_block_device]] | ||
+ | [[mkfs.ext4]] | ||
== See also == | == See also == | ||
+ | * {{sd}} | ||
* {{scsi}} | * {{scsi}} | ||
* {{Linux block devices}} | * {{Linux block devices}} |
Latest revision as of 10:46, 15 February 2023
Dec 17 05:21:25 SERVER_NAME kernel: sd 3:0:0:2: Warning! Received an indication that the LUN assignments on this target have changed. The Linux SCSI layer does not automatical
/dev/sda1
SD card[edit]
/dev/sdX /sys/block/sda/
Oct 22 11:25:58 SERVER kernel: sd 1:0:0:0: [sdb] Attached SCSI disk Oct 22 11:25:58 SERVER kernel: sdb: sdb1 Oct 22 11:25:58 SERVER kernel: sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Oct 22 11:25:58 SERVER kernel: sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 Oct 22 11:25:58 SERVER kernel: sd 1:0:0:0: [sdb] Write Protect is off Oct 22 11:25:58 SERVER kernel: sd 1:0:0:0: [sdb] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB)
See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html
Related terms[edit]
hdparm
- USB
- Add a new disk
echo 1 > /sys/block/sda/device/rescan
/sys/block/
/dev/vdX
/dev/sda1
- Terraform ebs_block_device
mkfs.ext4
See also[edit]
sd
- SCSI:
/dev/sd
lsscsi
rescan-scsi-bus.sh
mpathpersist
, iSCSI,udisksctl
- Block devices:
blkid
(UUID),lshw -class disk
,hwinfo --disk
,udevadm
,rescan-scsi-bus.sh
,LUN
,hdparm
,findfs
, Add a new disk lsblk
,pvscan
lspci
,lsscsi
,smartctl
,fdisk
,parted
,Kpartx
,pvdiplay
,pvs
,udisksctl
,/dev/sd, nvme list
Advertising: