Code: Alles auswählen
root@jw06:/home/jw# uname -a
Linux jw06 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
root@jw06:/home/jw# cat /etc/fstab
# /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).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=3425a150-3fff-44fe-a5c0-d6b6aa0d1ab6 / ext4 discard,noatime,errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=42D8-52A7 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda5 during installation
UUID=d5fdb8a3-b2d8-4b89-af57-1fb9e2075338 /home ext4 discard,noatime 0 2
# /other was on /dev/sda8 during installation
UUID=6b9db46b-6703-4789-ac2f-4bf0ed15e322 /other ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=cbbaf63e-32a0-4d83-81a7-a5cdc487a153 none swap sw,discard 0 0
jw22:/daten1/data27/data271/data26 /datei/pers nfs rsize=8192,wsize=8192,hard,intr 0 0
jw22:/daten1/data27/data271/data25 /datei/pub nfs rsize=8192,wsize=8192,hard,intr 0 0
jw22:/daten1/data27/data271/data-div /datei/div nfs rsize=8192,wsize=8192,hard,intr 0 0
jw22:/daten1/data27/data272/nobackup /datei/nobackup nfs rsize=8192,wsize=8192,hard,intr 0 0
jw22:/daten1/data28 /datei/blank nfs rsize=8192,wsize=8192,hard,intr 0 0
jw22:/daten1/austausch01 /datei/austausch01 nfs rsize=8192,wsize=8192,hard,intr 0 0
jw22:/daten1/austausch02 /datei/austausch02 nfs rsize=8192,wsize=8192,hard,intr 0 0
jw22:/daten1/backup /datei/backup nfs rsize=8192,wsize=8192,hard,intr 0 0
root@jw06:/home/jw# systemctl status fstrim
● fstrim.service - Discard unused blocks on filesystems from /etc/fstab
Loaded: loaded (/lib/systemd/system/fstrim.service; static)
Active: inactive (dead)
TriggeredBy: ● fstrim.timer
Docs: man:fstrim(8)
root@jw06:/home/jw# systemctl status fstrim.timer
● fstrim.timer - Discard unused blocks once a week
Loaded: loaded (/lib/systemd/system/fstrim.timer; enabled; vendor preset: enabled)
Active: active (waiting) since Tue 2021-12-21 11:12:00 CET; 2min 48s ago
Trigger: Mon 2021-12-27 01:34:49 CET; 5 days left
Triggers: ● fstrim.service
Docs: man:fstrim
Dez 21 11:12:00 jw06 systemd[1]: Started Discard unused blocks once a week.
root@jw06:/home/jw#
Code: Alles auswählen
user@debian:~$ /usr/sbin/fdisk /dev/sda
Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open /dev/sda: Permission denied
user@debian:~$ sudo /usr/sbin/fdisk /dev/sda
Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): m
Help:
GPT
M enter protective/hybrid MBR
Generic
d delete a partition
F list free unpartitioned space
l list known partition types
n add a new partition
p print the partition table
t change a partition type
v verify the partition table
i print information about a partition
Misc
m print this menu
x extra functionality (experts only)
Script
I load disk layout from sfdisk script file
O dump disk layout to sfdisk script file
Save & Exit
w write table to disk and exit
q quit without saving changes
Create a new label
g create a new empty GPT partition table
G create a new empty SGI (IRIX) partition table
o create a new empty DOS partition table
s create a new empty Sun partition table
Command (m for help): p
Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SSD0512S00
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: gpt
Disk identifier: 9C24B932-4BD0-4309-ACAB-AE307239C89B
Device Start End Sectors Size Type
/dev/sda1 34 262177 262144 128M Microsoft reserved
/dev/sda2 264192 468991 204800 100M EFI System
/dev/sda3 468992 127778815 127309824 60.7G Microsoft basic data
/dev/sda4 127778816 244965375 117186560 55.9G Linux filesystem
/dev/sda5 244965376 480706559 235741184 112.4G Linux filesystem
/dev/sda6 480706560 871331839 390625280 186.3G Linux filesystem
/dev/sda7 871331840 910393343 39061504 18.6G Linux swap
/dev/sda8 910393344 1000214527 89821184 42.8G Linux filesystem
Command (m for help):
root@jw06:/home/jw#
Vielen Dank und Gruß.