Skip to content

Instantly share code, notes, and snippets.

Created October 21, 2016 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f20f1e202f7a634769ac2dd22d604aa6 to your computer and use it in GitHub Desktop.
Save anonymous/f20f1e202f7a634769ac2dd22d604aa6 to your computer and use it in GitHub Desktop.
root@xen:~# dmesg | grep sd
[ 1.159018] sd 2:0:0:0: [sda] 125045424 512-byte logical blocks: (64.0 GB/59.6 GiB)
[ 1.159090] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 1.159342] sd 2:0:0:0: [sda] Write Protect is off
[ 1.159417] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.159464] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.160689] sda: sda1 sda2 < sda5 sda6 sda7 >
[ 1.161553] sd 2:0:0:0: [sda] Attached SCSI disk
[ 2.705605] sd 4:0:0:0: [sdb] 286494720 512-byte logical blocks: (147 GB/137 GiB)
[ 2.705721] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 2.706025] sd 4:0:1:0: [sdc] 286494720 512-byte logical blocks: (147 GB/137 GiB)
[ 2.706041] sd 4:0:1:0: [sdc] Write Protect is off
[ 2.706048] sd 4:0:1:0: [sdc] Mode Sense: 12 00 10 08
[ 2.706100] sd 4:0:1:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 2.706103] sd 4:0:1:0: Attached scsi generic sg3 type 0
[ 2.706427] sd 4:0:2:0: [sdd] 286494720 512-byte logical blocks: (147 GB/137 GiB)
[ 2.706444] sd 4:0:2:0: [sdd] Write Protect is off
[ 2.706447] sd 4:0:2:0: [sdd] Mode Sense: 12 00 10 08
[ 2.706477] sd 4:0:2:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 2.706956] sd 4:0:2:0: Attached scsi generic sg4 type 0
[ 2.707232] sd 4:0:3:0: [sde] 286494720 512-byte logical blocks: (147 GB/137 GiB)
[ 2.707246] sd 4:0:3:0: [sde] Write Protect is off
[ 2.707248] sd 4:0:3:0: [sde] Mode Sense: 12 00 10 08
[ 2.707277] sd 4:0:3:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 2.707520] sd 4:0:3:0: Attached scsi generic sg5 type 0
[ 2.707856] sd 4:0:4:0: [sdf] 286494720 512-byte logical blocks: (147 GB/137 GiB)
[ 2.707871] sd 4:0:4:0: [sdf] Write Protect is off
[ 2.707874] sd 4:0:4:0: [sdf] Mode Sense: 12 00 10 08
[ 2.707904] sd 4:0:4:0: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 2.708295] sd 4:0:4:0: Attached scsi generic sg6 type 0
[ 2.708586] sd 4:0:6:0: [sdg] 286494720 512-byte logical blocks: (147 GB/137 GiB)
[ 2.708598] sd 4:0:6:0: [sdg] Write Protect is off
[ 2.708601] sd 4:0:6:0: [sdg] Mode Sense: 12 00 10 08
[ 2.708629] sd 4:0:6:0: [sdg] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 2.708755] sd 4:0:6:0: Attached scsi generic sg7 type 0
[ 2.710554] sdd: sdd1
[ 2.710942] sd 4:0:2:0: [sdd] Attached SCSI removable disk
[ 2.712136] sdc: sdc1
[ 2.712263] sdf: sdf1
[ 2.712411] sd 4:0:1:0: [sdc] Attached SCSI removable disk
[ 2.712611] sd 4:0:4:0: [sdf] Attached SCSI removable disk
[ 2.713847] sdg: sdg1
[ 2.714107] sd 4:0:6:0: [sdg] Attached SCSI removable disk
[ 2.714472] sde: sde1
[ 2.714698] sd 4:0:3:0: [sde] Attached SCSI removable disk
[ 2.894777] sd 4:0:0:0: [sdb] Write Protect is off
[ 2.900114] sd 4:0:0:0: [sdb] Mode Sense: 12 00 10 08
[ 2.900388] sd 4:0:0:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 2.910673] sdb: sdb1
[ 2.916417] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 3.119294] md: bind<sdc1>
[ 3.145889] md: bind<sdd1>
[ 3.171172] md: bind<sdf1>
[ 3.204718] md: bind<sdg1>
[ 3.229738] md: bind<sdb1>
[ 3.257160] md: bind<sde1>
[ 3.306617] disk 0, wo:0, o:1, dev:sdb1
[ 3.306619] disk 1, wo:0, o:1, dev:sdc1
[ 3.306621] disk 2, wo:0, o:1, dev:sdd1
[ 3.306624] disk 3, wo:0, o:1, dev:sde1
[ 3.306629] disk 0, wo:0, o:1, dev:sdb1
[ 3.306631] disk 1, wo:0, o:1, dev:sdc1
[ 3.306634] disk 2, wo:0, o:1, dev:sdd1
[ 3.306636] disk 3, wo:0, o:1, dev:sde1
[ 4.464342] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[ 5.702633] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[ 6.378636] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 6.396446] Adding 3927036k swap on /dev/sda7. Priority:-1 extents:1 across:3927036k SSFS
[ 6.482829] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[ 638.829402] sd 5:0:0:0: Attached scsi generic sg16 type 0
[ 638.829856] sd 5:0:0:0: [sdh] 1073741824 512-byte logical blocks: (550 GB/512 GiB)
[ 638.829862] sd 5:0:0:0: [sdh] 16384-byte physical blocks
[ 638.831294] sd 5:0:0:0: [sdh] Write Protect is off
[ 638.831298] sd 5:0:0:0: [sdh] Mode Sense: 73 00 10 08
[ 638.831693] sd 5:0:0:0: [sdh] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 638.835660] sdh: sdh1
[ 638.840685] sd 5:0:0:0: [sdh] Attached SCSI disk
[ 654.732158] sdh: sdh1
[ 749.791653] sdh: sdh1
[ 749.798131] sdh: sdh1
[ 1111.236160] sdh: sdh1
[ 1111.241353] sdh: sdh1
[ 1279.837996] sdh: sdh1
[ 1281.036163] sdh: sdh1
[ 1281.117240] sdh: sdh1
[ 1287.281140] sdh: sdh1
[ 1288.450882] sdh: sdh1
[ 1288.457658] sdh: sdh1
[ 1288.568223] sdh: sdh1
[ 1361.643187] sdh: sdh1
[ 1362.864475] sdh: sdh1
[ 1362.977585] sdh: sdh1
[ 2709.691007] sdh: sdh1
root@xen:~#
root@xen:~# fdisk /dev/sdh
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sdh: 512 GiB, 549755813888 bytes, 1073741824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 16384 bytes
I/O size (minimum/optimal): 16384 bytes / 1048576 bytes
Disklabel type: dos
Disk identifier: 0x5eb7447a
Device Boot Start End Sectors Size Id Type
/dev/sdh1 2048 536872959 536870912 256G 8e Linux LVM
Command (m for help): q
root@xen:~# ls -1 /dev/sd*
/dev/sda
/dev/sda1
/dev/sda2
/dev/sda5
/dev/sda6
/dev/sda7
/dev/sdb
/dev/sdb1
/dev/sdc
/dev/sdc1
/dev/sdd
/dev/sdd1
/dev/sde
/dev/sde1
/dev/sdf
/dev/sdf1
/dev/sdg
/dev/sdg1
/dev/sdh
root@xen:~#
#
# SYSLOG
#
Oct 21 23:30:21 xen kernel: [ 1362.864475] sdh: sdh1
Oct 21 23:30:21 xen systemd-udevd[4182]: Process '/usr/bin/partx -d --nr 1-1024 /dev/sdh' failed with exit code 1.
Oct 21 23:30:21 xen systemd-udevd[4179]: inotify_add_watch(9, /dev/sdh1, 10) failed: No such file or directory
Oct 21 23:30:21 xen systemd-udevd[4179]: Process '/usr/bin/partx -d --nr 1-1024 /dev/sdh' failed with exit code 1.
Oct 21 23:30:21 xen systemd-udevd[4179]: inotify_add_watch(9, /dev/sdh1, 10) failed: No such file or directory
Oct 21 23:30:21 xen kernel: [ 1362.977585] sdh: sdh1
Oct 21 23:30:21 xen systemd-udevd[4201]: Process '/usr/bin/partx -d --nr 1-1024 /dev/sdh' failed with exit code 1.
Oct 21 23:30:21 xen systemd-udevd[4201]: inotify_add_watch(9, /dev/sdh1, 10) failed: No such file or directory
Oct 21 23:33:27 xen systemd[1]: Stopping User Manager for UID 0...
Oct 21 23:33:27 xen systemd[2721]: Stopped target Default.
Oct 21 23:33:27 xen systemd[2721]: Stopped target Basic System.
Oct 21 23:33:27 xen systemd[2721]: Stopped target Sockets.
Oct 21 23:33:27 xen systemd[2721]: Stopped target Paths.
Oct 21 23:33:27 xen systemd[2721]: Reached target Shutdown.
Oct 21 23:33:27 xen systemd[2721]: Starting Exit the Session...
Oct 21 23:33:27 xen systemd[2721]: Stopped target Timers.
Oct 21 23:33:27 xen systemd[2721]: Received SIGRTMIN+24 from PID 4222 (kill).
Oct 21 23:33:27 xen systemd[1]: Stopped User Manager for UID 0.
Oct 21 23:33:27 xen systemd[1]: Removed slice User Slice of root.
Oct 21 23:34:47 xen systemd[1]: Created slice User Slice of root.
Oct 21 23:34:47 xen systemd[1]: Starting User Manager for UID 0...
Oct 21 23:34:47 xen systemd[1]: Started Session 3 of user root.
Oct 21 23:34:47 xen systemd[4233]: Reached target Timers.
Oct 21 23:34:47 xen systemd[4233]: Reached target Sockets.
Oct 21 23:34:47 xen systemd[4233]: Reached target Paths.
Oct 21 23:34:47 xen systemd[4233]: Reached target Basic System.
Oct 21 23:34:47 xen systemd[4233]: Reached target Default.
Oct 21 23:34:47 xen systemd[4233]: Startup finished in 46ms.
Oct 21 23:34:47 xen systemd[1]: Started User Manager for UID 0.
Oct 21 23:52:48 xen kernel: [ 2709.691007] sdh: sdh1
Oct 21 23:52:48 xen systemd-udevd[4293]: Process '/usr/bin/partx -d --nr 1-1024 /dev/sdh' failed with exit code 1.
Oct 21 23:52:48 xen systemd-udevd[4293]: inotify_add_watch(9, /dev/sdh1, 10) failed: No such file or directory
Oct 22 00:04:23 xen systemd[1]: Started Session 4 of user root.
Oct 22 00:05:02 xen kernel: [ 3443.924704] sdh: sdh1
Oct 22 00:05:02 xen systemd-udevd[4355]: Process '/usr/bin/partx -d --nr 1-1024 /dev/sdh' failed with exit code 1.
Oct 22 00:05:02 xen systemd-udevd[4355]: inotify_add_watch(9, /dev/sdh1, 10) failed: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment