Difference between revisions of "Sd"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lowercase}} | |
Dec 17 05:21:25 SERVER_NAME kernel: sd 3:0:0:2: Warning! Received an indication that the | 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 | LUN assignments on this target have changed. The Linux SCSI layer does not automatical | ||
− | [[SD card]] | + | [[/dev/]]sda1 |
+ | |||
+ | ===[[SD card]]=== | ||
[[/dev/]]sdX | [[/dev/]]sdX | ||
[[/sys/block/]]sda/ | [[/sys/block/]]sda/ | ||
Line 13: | Line 15: | ||
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] 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) | Oct 22 11:25:58 SERVER kernel: sd 1:0:0:0: [sdb] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB) | ||
+ | |||
+ | * <code>[[/dev/sdf]]</code> | ||
+ | See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html | ||
Line 21: | Line 26: | ||
* <code>echo 1 > [[/sys/block/]]sda/device/[[rescan]]</code> | * <code>echo 1 > [[/sys/block/]]sda/device/[[rescan]]</code> | ||
* <code>[[/sys/block/]]</code> | * <code>[[/sys/block/]]</code> | ||
− | * <code>/dev/[[vd]]X</code> | + | * <code>[[/dev/]][[vd]]X</code> |
+ | * <code>/dev/[[sd]]a1</code> | ||
+ | * 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: