Editing Lsblk

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lc}}
+
<code>lsblk</code><ref>http://man7.org/linux/man-pages/man8/lsblk.8.html</ref>, included in [[w:util-linux|util-linux]] package, list block devices including [[Hard disk drive]] and [[SDD]] devices.
<code>lsblk</code><ref>http://man7.org/linux/man-pages/man8/lsblk.8.html</ref>, included in <code>[[util-linux]]</code> package, list block devices including [[Hard disk drive]] and [[SDD]] devices.
 
  
 
<pre>
 
<pre>
Line 11: Line 10:
 
sr0      11:0    1  52K  0 from
 
sr0      11:0    1  52K  0 from
 
</pre>
 
</pre>
 
lsblk
 
NAME          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
 
nvme0n1      259:0    0  200G  0 disk
 
├─nvme0n1p1  259:2    0  200G  0 part /
 
└─nvme0n1p128 259:3    0    1M  0 part
 
nvme1n1      259:1    0  500G  0 disk /mnt/ext
 
 
  
 
<pre>
 
<pre>
Line 45: Line 36:
  
  
 +
<pre>
 +
lsblk -S
 +
NAME HCTL      TYPE VENDOR  MODEL            REV TRAN
 +
sda  0:0:0:0    disk ATA      CT210MX501SSD4  023  sata
 +
sdb  1:0:0:0    disk ATA      WDC WDS100T2B0A- 90WD sata
 +
sdc  3:0:0:0    disk ATA      WDC WDS100T2B0A- 90WD sata
 +
sdd  6:0:0:0    disk WD      My Book 15xE    4004 usb
  
lsblk -S
+
lsblk -S
NAME HCTL      TYPE VENDOR  MODEL            REV TRAN
+
NAME HCTL      TYPE VENDOR  MODEL            REV TRAN
sda  0:0:0:0    disk ATA      CT210MX501SSD4  023  [[sata]]
+
sdb  2:1:0:0    disk HPE      LOGICAL VOLUME  1.66 sas
sdb  1:0:0:0    disk ATA      WDC WDS100T2B0A- 90WD sata
+
sdc  2:1:0:1    disk HPE      LOGICAL VOLUME  1.66 sas
sdc  3:0:0:0    disk ATA      WDC WDS100T2B0A- 90WD sata
+
sdd  1:0:0:0    disk NETAPP  LUN C-Mode      9600 fc
sdd  6:0:0:0    disk WD      My Book 15xE    4004 usb
+
sde  1:0:0:1    disk NETAPP  LUN C-Mode      9600 fc
 
 
lsblk -S
 
NAME HCTL      TYPE VENDOR  MODEL            REV TRAN
 
sdb  2:1:0:0    disk HPE      LOGICAL VOLUME  1.66 [[sas]]
 
sdc  2:1:0:1    disk HPE      LOGICAL VOLUME  1.66 sas
 
sdd  1:0:0:0    disk NETAPP  LUN C-Mode      9600 fc
 
sde  1:0:0:1    disk NETAPP  LUN C-Mode      9600 fc
 
  
 
-S, --scsi Output info about SCSI devices only
 
-S, --scsi Output info about SCSI devices only
Line 115: Line 106:
 
* <code>[[wipefs]]</code>
 
* <code>[[wipefs]]</code>
 
* <code>[[blkid]]</code>
 
* <code>[[blkid]]</code>
* <code>[[ssacli ctrl all show config]]</code>
 
* <code>[[mkfs]]</code>
 
* [[swap]]
 
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: