On Thu, 27 Jul 2023 18:47:50 +0200 KarlderLetzte <karlderletzte@xxxxxxxxxxxxx> wrote: > Am Donnerstag, dem 27.07.2023 um 08:27 -0700 schrieb stan via users: > > On Wed, 26 Jul 2023 19:21:50 +0200 > > KarlderLetzte <karlderletzte@xxxxxxxxxxxxx> wrote: > > > > > hello everybody, > > > > > > i need some space on disk for a second installation. > > > therefore i want to safely shrink my fedora installation. > > > > > > here is the disk layout: > > > > [snip] > > > > > i tried it with gparted, but if i want to shrink, a warning > > > appears, > > > that it is possible,to not boot anymore. > > > > > > my question: > > > is there a safe way to shrink? > > > > I don't know that I would even be able to help, since I use fixed > > ext4 > > partitions for the same purpose, but I think the output of df would > > give a better idea of your system layout and partition sizes and > > usage > > in case there is someone who *can* help. > > here is the output of df and btrfs filesystem. > i resized the filesystem to a desired value. > my ssd has 500GB capacity. > it is the nvme0n1..6 > > sudo btrfs filesystem sync / > sudo btrfs filesystem df / > Data, single: total=195.01GiB, used=154.75GiB > System, single: total=4.00MiB, used=48.00KiB > Metadata, single: total=5.01GiB, used=2.21GiB > GlobalReserve, single: total=301.27MiB, used=0.00B > > df > Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf > devtmpfs 4096 0 4096 0% /dev > tmpfs 7850952 0 7850952 0% /dev/shm > tmpfs 3140384 1964 3138420 1% /run > /dev/nvme0n1p6 282561536 164889684 115040620 59% / > /dev/nvme0n1p6 282561536 164889684 115040620 59% /home > tmpfs 7850952 12 7850940 1% /tmp > /dev/nvme0n1p5 996780 355908 572060 39% /boot > /dev/nvme0n1p4 613184 17796 595388 3% /boot/efi > tmpfs 1570188 192 1569996 1% /run/user/1000 > /dev/sda1 495312 5920 412352 2% > /run/media/held/40f020fb-33eb-406b-a3b0-7f7ba297557b No one is stepping forward, but this looks fairly straightforward, since there is unused space; I think the commands in man btrfs-filesystem and man btrfs-subvolume are what you want, but I am not qualified to tell you how to use them. It seems there aren't any btrfs experts on this list. Maybe try discourse, the web forum? Or a web search might turn up a recipe, since this has to be a common request. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue