Re: fstrim and subvolumes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



when you run fstrim, you give path to file system, fstrim talk with
file system and filesystem call trim for whole free space on it
filesystem.
As you say above, home and root, is a subvolume on one big btrfs
filesystem, then if you call fstrim on any path in fs, you will trim
whole free space on this fs.

*Enough call it once for '/', sorry for long and ugly answer

2015-05-07 0:36 GMT+03:00 Christian <cdysthe@xxxxxxxxx>:
> Hi,
>
> I use a script to run scheduled fstrims on my SSD. I have a small /boot
> partition ext4 and a large btrfs partition / with /home as a subvolume of /
>
> My question is simple if I run "fstrim /" will /home be trimmed as well or
> will i have to run "fstrim /home" also to get the whole partition trimmed?
>
> --
> //Christian
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Have a nice day,
Timofey.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux