Debian8.7
[cc lang=”bash” escaped=”true” width=”600″]
parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type ‘help’ to view a list of commands.
(parted) p
Model: Msft Virtual Disk (scsi)
Disk /dev/sda: 136GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 134GB 134GB primary ext4 boot
2 134GB 136GB 2144MB extended
5 134GB 136GB 2144MB logical linux-swap(v1)
user@debian:~$ uname -a; df -hT;
Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) i686 GNU/Linux
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext4 123G 3.4G 114G 3% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 202M 4.9M 197M 3% /run
tmpfs tmpfs 503M 8.0K 503M 1% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 503M 0 503M 0% /sys/fs/cgroup
tmpfs tmpfs 101M 16K 101M 1% /run/user/1000
[/cc]
CentOS7
[cc lang=”bash” escaped=”true” width=”600″]
parted
GNU Parted 3.1
Verwende /dev/sda
Willkommen zu GNU Parted! Geben Sie ‘help’ ein, um eine Liste der verfügbaren Kommados zu erhalten.
(parted) p
Modell: Msft Virtual Disk (scsi)
Festplatte /dev/sda: 136GB
Sektorgröße (logisch/physisch): 512B/4096B
Partitionstabelle: msdos
Disk Flags:
Nummer Anfang Ende Größe Typ Dateisystem Flags
1 1049kB 1075MB 1074MB primary xfs boot
2 1075MB 136GB 135GB primary lvm
uname -a; df -hT;
Linux centos 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Dateisystem Typ Größe Benutzt Verf. Verw% Eingehängt auf
/dev/mapper/cl-root xfs 50G 1,3G 49G 3% /
devtmpfs devtmpfs 482M 0 482M 0% /dev
tmpfs tmpfs 493M 0 493M 0% /dev/shm
tmpfs tmpfs 493M 6,6M 486M 2% /run
tmpfs tmpfs 493M 0 493M 0% /sys/fs/cgroup
/dev/sda1 xfs 1014M 138M 877M 14% /boot
/dev/mapper/cl-home xfs 74G 33M 74G 1% /home
tmpfs tmpfs 99M 0 99M 0% /run/user/0
tmpfs tmpfs 99M 0 99M 0% /run/user/1000
[/cc]
SUSE12
winner of the “always latest filesystems” and “most partitions per default”.
yes it can do automatic snapshots now 😀
[cc lang=”bash” escaped=”true” width=”600″]
parted
GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type ‘help’ to view a list of commands.
(parted) p
Model: Msft Virtual Disk (scsi)
Disk /dev/sda: 136GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 2155MB 2154MB primary linux-swap(v1) type=82
2 2155MB 45,1GB 43,0GB primary btrfs boot, type=83
3 45,1GB 136GB 91,3GB primary xfs type=83
user@suse:~> uname -a; df -hT;
Linux suse 4.4.21-69-default #1 SMP Tue Oct 25 10:58:20 UTC 2016 (9464f67) x86_64 x86_64 x86_64 GNU/Linux
Dateisystem Typ Größe Benutzt Verf. Verw% Eingehängt auf
devtmpfs devtmpfs 484M 0 484M 0% /dev
tmpfs tmpfs 492M 136K 492M 1% /dev/shm
tmpfs tmpfs 492M 8,0M 484M 2% /run
tmpfs tmpfs 492M 0 492M 0% /sys/fs/cgroup
/dev/sda2 btrfs 41G 6,0G 34G 16% /
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/opt
/dev/sda2 btrfs 41G 6,0G 34G 16% /boot/grub2/i386-pc
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/log
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/lib/pgsql
/dev/sda2 btrfs 41G 6,0G 34G 16% /tmp
/dev/sda2 btrfs 41G 6,0G 34G 16% /.snapshots
/dev/sda2 btrfs 41G 6,0G 34G 16% /opt
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/lib/mailman
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/lib/mariadb
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/lib/mysql
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/lib/machines
/dev/sda2 btrfs 41G 6,0G 34G 16% /srv
/dev/sda2 btrfs 41G 6,0G 34G 16% /boot/grub2/x86_64-efi
/dev/sda2 btrfs 41G 6,0G 34G 16% /usr/local
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/lib/named
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/cache
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/lib/libvirt/images
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/tmp
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/crash
/dev/sda2 btrfs 41G 6,0G 34G 16% /var/spool
/dev/sda3 xfs 85G 1,1G 84G 2% /home
tmpfs tmpfs 99M 20K 99M 1% /run/user/1000
# just in case if you want to search your system without the snapshots:
find / -iname ‘*SEARCH_TERM*’ -not -path “/.snapshots/*”
[/cc]
Links:
https://dwaves.de/2017/05/19/linux-server-and-partitioning-stability-and-security/
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!