Problem resizing btrfs file system

Archived topics about LMDE 1
Forum rules
andy_0
Level 1
Level 1
Posts: 21
Joined: Tue Aug 09, 2011 3:29 am

Problem resizing btrfs file system

Postby andy_0 » Tue Mar 06, 2012 9:56 pm

Hi,

I just run into a problem while resizing a btrfs file system. On an HDD I got two partitions. The first is ~1700GB btrfs partition, the second a 100GB NTFS. I need more space for NTFS so I ran "btrfs filesystem resize -100g /mnt" (https://btrfs.wiki.kernel.org/articles/ ... _8bd8.html). It did work, the partition now is 100GB smaller, but only for Nautilus and the System Monitor. GParted still detects the full 1700GB of partition size. GParted also notes, that it is not capable of resizing btrfs partitions. On Wikipedia it is stated btrfs resizing is working. I am using GParted 0.8.1 while the newest is 0.12.x.

Do you think this is an version issue of GParted? Do you have any experience in resizing a btrfs partition and have any ideas? If it is related to GParted, which version do I need to get it running and how do I get this version installed on my PC?

renkinjutsu
Level 1
Level 1
Posts: 1
Joined: Thu Mar 08, 2012 2:54 pm

Re: Problem resizing btrfs file system

Postby renkinjutsu » Thu Mar 08, 2012 3:01 pm

Hi. I think I see the problem here.
Just as the partition doesn't have to be the same size as the harddrive, the btrfs volume doesn't have to be the same size as the partition it's in. In other words, you shrank the btrfs volume while leaving the actual partition the same size.

That means you still need to resize the partition

andy_0
Level 1
Level 1
Posts: 21
Joined: Tue Aug 09, 2011 3:29 am

Re: Problem resizing btrfs file system

Postby andy_0 » Thu Mar 08, 2012 3:04 pm

Hi,

yes you are right. Today I bootet the newest GParted Linux and was able to resize the partition. The problem seems to be an outdated GParted version in LMDE.


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests