주 메뉴 열기

wwiki β

바뀜

Btrfs

1,596 바이트 추가됨, 2023년 6월 18일 (일) 11:54
resize
lzo는 빠르고 낮은 cpu 부하를 가지며B-Tree기반 파일시스템이다. == subvolume ==파일시스템의 일부이다. (block device가 아니다.) block-level의 논리 volume이 아니라 파일확장속성기반이다. == snapshot ==원본 subvolume의 내용을 갖고 있는 subvolume이다.  == command == === filesystem === ==== show ====파일시스템 리스트 $ sudo btrfs filesystem show ==== resize ==== # btrfs filesystem resize [devid:][+/-]<newsize>[kKmMgGtTpPeE]|[devid:]max <path>Resize a filesystem. Resize a mounted filesystem identified by ''path''. A particular device can be resized by specifying a ''devid''. If ''max'' is passed, zlib는 높은 압축 비율을 갖는다the filesystem will occupy all available space on the device respecting ''devid'' (remember, devid 1 by default). ==== check ==== # btrfs check --repair /dev/<device_name>Btrfs 파일 시스템을 복구하는 방법 중 하나로 명령을 사용할 수 있습니다. 하지만 <code>--repair</code> 옵션을 사용하면 특정 문제를 해결하지 못할 경우 파일 시스템을 더 손상시킬 수 있습니다. btrbk을 사용하여 백업할 수 있습니다. === subvolume === ==== list ==== # btrfs subvolume list [options] <path>  $ sudo btrfs subvolume list /homeList subvolumes and snapshots in the filesystem.
lzo 압축을 이용하면 처리량에 대한 성능을 항상시킬 수 있다==== usage ==== # btrfs filesystem usage [options] <path> [<path>..]
$ sudo nano btrfs filesystem usage /etc/[[fstab]]homeShow detailed information about internal filesystem usage .
UUID=xxxx / === show ==== # btrfs defaultssubvolume show [options] <path>Show more information about the subvolume (UUIDs,compress=lzo 0 1generations, times, snapshots)
$ mount -o compress=lzo /dev/sdb path= 마운트 ==lzo는 빠르고 낮은 cpu 부하를 가지며, zlib는 높은 압축 비율을 갖는다.
lzo 압축을 이용하면 처리량에 대한 성능을 항상시킬 수 있다. $ sudo nano /etc/[[fstab]]UUID=xxxx / btrfs defaults,compress=lzo 0 0 $ mount -o compress=lzo /dev/sdb path [[분류:Linux파일]][[분류:File system리눅스]]
편집
2,431