Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

Hardware • Re: [Software] Power off external SSD on shutdown

$
0
0
Hi,
I have attached log from journalctl -b -1 as journal.zip file.

Mount command from running system:

Code:

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)udev on /dev type devtmpfs (rw,nosuid,relatime,size=6055500k,nr_inodes=1513875,mode=755)devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1215160k,mode=755)/dev/sdb1 on / type ext4 (rw,noatime,errors=remount-ro,stripe=8191)securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13651)hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)/dev/sdb6 on /var type ext4 (rw,noatime,stripe=8191)/dev/sdb5 on /home type ext4 (rw,noatime,stripe=8191)/dev/sdb7 on /tmp type ext4 (rw,noatime,stripe=8191)tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1215156k,nr_inodes=303789,mode=700,uid=1000,gid=1000)
/etc/fstab from running system:

Code:

# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point>   <type>  <options>       <dump>  <pass># / was on /dev/sda1 during installationUUID=4e22b8e8-4b44-485c-a60d-f397080cf2b7 /               ext4    noatime,errors=remount-ro 0       1# /home was on /dev/sda5 during installationUUID=44b7533e-bc6e-49ec-8558-90d52d8298c7 /home           ext4    noatime         0       2# /tmp was on /dev/sda7 during installationUUID=40057584-4249-416f-8250-28e42634557e /tmp            ext4    noatime         0       2# /var was on /dev/sda6 during installationUUID=9e64370f-5a2d-4cc9-a4e9-8f60eae8facc /var            ext4    noatime         0       2# swap was on /dev/sda8 during installationUUID=e29b65a8-4770-47b8-a6e1-8e532b4f603c none            swap    sw              0       0/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
fdisk -l /dev/sdb

Code:

Disk /dev/sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectorsDisk model: Portable SSD T5 Units: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 33553920 bytesDisklabel type: dosDisk identifier: 0xac6fa6d7Device     Boot     Start       End   Sectors   Size Id Type/dev/sdb1  *         2048  83888127  83886080    40G 83 Linux/dev/sdb2        83888128 976773167 892885040 425.8G  5 Extended/dev/sdb5        83890176 314576895 230686720   110G 83 Linux/dev/sdb6       314578944 377493503  62914560    30G 83 Linux/dev/sdb7       377495552 450895871  73400320    35G 83 Linux/dev/sdb8       450897920 459286527   8388608     4G 82 Linux swap / Solaris
blkid

Code:

/dev/sdb1: LABEL="deb_root" UUID="4e22b8e8-4b44-485c-a60d-f397080cf2b7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ac6fa6d7-01"/dev/sdb5: LABEL="deb_home" UUID="44b7533e-bc6e-49ec-8558-90d52d8298c7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ac6fa6d7-05"/dev/sdb6: LABEL="deb_var" UUID="9e64370f-5a2d-4cc9-a4e9-8f60eae8facc" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ac6fa6d7-06"/dev/sdb7: LABEL="deb_tmp" UUID="40057584-4249-416f-8250-28e42634557e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ac6fa6d7-07"/dev/sdb8: UUID="e29b65a8-4770-47b8-a6e1-8e532b4f603c" TYPE="swap" PARTUUID="ac6fa6d7-08"/dev/sda1: LABEL="System Reserved" BLOCK_SIZE="512" UUID="XXXXXXXXXXXXXXXX" TYPE="ntfs" PARTUUID="xxxxxxxx-01"/dev/sda2: BLOCK_SIZE="512" UUID="XXXXXXXXXXXXXXXX" TYPE="ntfs" PARTUUID="xxxxxxxx-02"
lsblk

Code:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTsda      8:0    0 119.2G  0 disk |-sda1   8:1    0   100M  0 part `-sda2   8:2    0 107.2G  0 part sdb      8:16   0 465.8G  0 disk |-sdb1   8:17   0    40G  0 part /|-sdb2   8:18   0     1K  0 part |-sdb5   8:21   0   110G  0 part /home|-sdb6   8:22   0    30G  0 part /var|-sdb7   8:23   0    35G  0 part /tmp`-sdb8   8:24   0     4G  0 part [SWAP]sr0     11:0    1  1024M  0 rom  
journal.zip

Statistics: Posted by amn1997 — 2024-08-02 11:43



Viewing all articles
Browse latest Browse all 2901

Trending Articles