AFAIK you don't need subvolume id, `btrfs qgroup show -ref
/path/to/subvolume` shows necessary qgroup for me. Separating value you
need is more involved:
btrfs qgroup show -ref --raw /path/to/subvolume | tail -n +3 | tr -s '
' | cut -d ' ' -f 4
Not sure how robust is this though.
--
With Be
On 2017年12月04日 21:46, ST wrote:
>>> Hello,
>>>
>>> what is the command to get btrfs quota limit on certain subvolume?
>>
>> btrfs qgroup show -re
>>
>> The result is for all subvolumes, then just find the subvolume you need.
>>
>
> I need to use the quota number in a script... is there a more sp
> > Hello,
> >
> > what is the command to get btrfs quota limit on certain subvolume?
>
> btrfs qgroup show -re
>
> The result is for all subvolumes, then just find the subvolume you need.
>
I need to use the quota number in a script... is there a more specific
command, otherwise I need to get
On 2017年12月04日 20:14, ST wrote:
> Hello,
>
> what is the command to get btrfs quota limit on certain subvolume?
btrfs qgroup show -re
The result is for all subvolumes, then just find the subvolume you need.
Thanks,
Qu
>
> Thank you!
>
> --
> To unsubscribe from this list: send the line "un
Hello,
what is the command to get btrfs quota limit on certain subvolume?
Thank you!
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html