home.social

Search

2 results for “mehanix”

  1. @alangarf So, #TIL: you can't make an LVM VG into a Raid1 mirror unless you have 1 (one) free extent for the metadata.

    And I have an un-shrinkable XFS on this LV, so sucks to be me, and `rsync` it is.

  2. #TIL: `fallocate`(1) man7.org/linux/man-pages/man1/

    ```
    $ time fallocate -l 2G /mnt/data.img
    fallocate -l 2G /mnt/data.img 0.00s user 0.00s system 36% cpu 0.008 total
    $ ls -l /mnt/sw-data.img
    -rw-rw-r-- 1 shtrom shtrom 2147483648 Oct 11 20:59 /mnt/data.img
    ```

    Beats `dd -i/dev/zero ...`

    #linux

Share on Mastodon

Enter the server where you have an account.