Skip to main content
Became Hot Network Question
added 115 characters in body
Source Link

After running sudo fsck -N /dev/sda:

[/usr/sbin/fsck.ext2 (1) -- /dev/sda] fsck.ext2 /dev/sda 

After running sudo fsck -N /dev/sda:

[/usr/sbin/fsck.ext2 (1) -- /dev/sda] fsck.ext2 /dev/sda 
Adding output from following others' suggestions.
Source Link
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2022-07-05 20:44:07 CDT; 1h 32min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 1714 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
 Main PID: 1715 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/smbd.service
           ├─1715 /usr/sbin/smbd --foreground --no-process-group
           ├─1718 /usr/sbin/smbd --foreground --no-process-group
           ├─1719 /usr/sbin/smbd --foreground --no-process-group
           └─1720 /usr/sbin/smbd --foreground --no-process-group

Jul 05 20:57:20 raspberrypi smbd[2150]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 20:57:30 raspberrypi smbd[2150]: pam_unix(samba:session): session closed for user pi
Jul 05 21:18:00 raspberrypi smbd[2362]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:00 raspberrypi smbd[2362]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session closed for user pi
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2022-07-05 20:44:07 CDT; 1h 32min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 1714 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
 Main PID: 1715 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/smbd.service
           ├─1715 /usr/sbin/smbd --foreground --no-process-group
           ├─1718 /usr/sbin/smbd --foreground --no-process-group
           ├─1719 /usr/sbin/smbd --foreground --no-process-group
           └─1720 /usr/sbin/smbd --foreground --no-process-group

Jul 05 20:57:20 raspberrypi smbd[2150]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 20:57:30 raspberrypi smbd[2150]: pam_unix(samba:session): session closed for user pi
Jul 05 21:18:00 raspberrypi smbd[2362]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:00 raspberrypi smbd[2362]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session closed for user pi

After running sudo fdisk -l:

Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x84e25c90

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        8192   532479   524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      532480 62333951 61801472 29.5G 83 Linux


Disk /dev/sda: 1.8 TiB, 2000398843904 bytes, 3907028992 sectors
Disk model: Extreme SSD     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disklabel type: gpt
Disk identifier: 0BA8FA95-D191-472A-9756-2B141A3583B7

Device     Start        End    Sectors  Size Type
/dev/sda1   2048 3907026943 3907024896  1.8T Linux filesystem
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2022-07-05 20:44:07 CDT; 1h 32min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 1714 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
 Main PID: 1715 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/smbd.service
           ├─1715 /usr/sbin/smbd --foreground --no-process-group
           ├─1718 /usr/sbin/smbd --foreground --no-process-group
           ├─1719 /usr/sbin/smbd --foreground --no-process-group
           └─1720 /usr/sbin/smbd --foreground --no-process-group

Jul 05 20:57:20 raspberrypi smbd[2150]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 20:57:30 raspberrypi smbd[2150]: pam_unix(samba:session): session closed for user pi
Jul 05 21:18:00 raspberrypi smbd[2362]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:00 raspberrypi smbd[2362]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session closed for user pi
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2022-07-05 20:44:07 CDT; 1h 32min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 1714 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
 Main PID: 1715 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/smbd.service
           ├─1715 /usr/sbin/smbd --foreground --no-process-group
           ├─1718 /usr/sbin/smbd --foreground --no-process-group
           ├─1719 /usr/sbin/smbd --foreground --no-process-group
           └─1720 /usr/sbin/smbd --foreground --no-process-group

Jul 05 20:57:20 raspberrypi smbd[2150]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 20:57:30 raspberrypi smbd[2150]: pam_unix(samba:session): session closed for user pi
Jul 05 21:18:00 raspberrypi smbd[2362]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:00 raspberrypi smbd[2362]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session closed for user pi

After running sudo fdisk -l:

Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x84e25c90

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        8192   532479   524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      532480 62333951 61801472 29.5G 83 Linux


Disk /dev/sda: 1.8 TiB, 2000398843904 bytes, 3907028992 sectors
Disk model: Extreme SSD     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disklabel type: gpt
Disk identifier: 0BA8FA95-D191-472A-9756-2B141A3583B7

Device     Start        End    Sectors  Size Type
/dev/sda1   2048 3907026943 3907024896  1.8T Linux filesystem
added 1856 characters in body
Source Link

Edit After running systemctl status smbd, this is my output:

● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2022-07-05 20:44:07 CDT; 1h 32min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 1714 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
 Main PID: 1715 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/smbd.service
           ├─1715 /usr/sbin/smbd --foreground --no-process-group
           ├─1718 /usr/sbin/smbd --foreground --no-process-group
           ├─1719 /usr/sbin/smbd --foreground --no-process-group
           └─1720 /usr/sbin/smbd --foreground --no-process-group

Jul 05 20:57:20 raspberrypi smbd[2150]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 20:57:30 raspberrypi smbd[2150]: pam_unix(samba:session): session closed for user pi
Jul 05 21:18:00 raspberrypi smbd[2362]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:00 raspberrypi smbd[2362]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session closed for user pi

Edit After running systemctl status smbd, this is my output:

● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2022-07-05 20:44:07 CDT; 1h 32min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 1714 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
 Main PID: 1715 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/smbd.service
           ├─1715 /usr/sbin/smbd --foreground --no-process-group
           ├─1718 /usr/sbin/smbd --foreground --no-process-group
           ├─1719 /usr/sbin/smbd --foreground --no-process-group
           └─1720 /usr/sbin/smbd --foreground --no-process-group

Jul 05 20:57:20 raspberrypi smbd[2150]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 20:57:30 raspberrypi smbd[2150]: pam_unix(samba:session): session closed for user pi
Jul 05 21:18:00 raspberrypi smbd[2362]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:00 raspberrypi smbd[2362]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2370]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:05 raspberrypi smbd[2373]: pam_unix(samba:session): session closed for user pi
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session opened for user pi by (uid=0)
Jul 05 21:19:07 raspberrypi smbd[2375]: pam_unix(samba:session): session closed for user pi
Source Link
Loading