Code:
# mkfs.btrfs -f /dev/sdf1 btrfs-progs v4.9.1 See http://btrfs.wiki.kernel.org for more information. ERROR: failed to check size for /dev/sdf1: No such file or directory
# mkfs.btrfs -f /dev/sdf1 btrfs-progs v4.9.1 See http://btrfs.wiki.kernel.org for more information. ERROR: failed to check size for /dev/sdf1: No such file or directory
# mount /dev/sdb1 /backup/ root@jerry-Aspire-V3-771:~# vdir /backup/ total 0 drwxr-xr-x 1 root root 398 Jul 28 21:06 @_bkup20170725 drwxr-xr-x 1 root root 398 Aug 10 12:45 @_bkup20170810 drwxr-xr-x 1 root root 398 Aug 19 11:10 @_bkup20170819 drwxr-xr-x 1 root root 10 Jul 28 21:49 @home_bkup20170725 drwxr-xr-x 1 root root 10 Aug 10 11:53 @home_bkup20170810 drwxr-xr-x 1 root root 10 Aug 19 12:06 @home_bkup20170819
sudo mkfs.btrfs /dev/sdc1 sudo mkdir /mnt/newhome sudo mount /dev/sdc1 -o autodefrag,space_cache,compress /mnt/newhome sudo btrfs su cr /mnt/newhome/@newhome sudo umount /dev/sdc1 sudo mount /dev/sdc1 -o autodefrag,space_cache,compress,subvol=@newhome /mnt/newhome
:~$ mount /dev/sdc3 on / type btrfs (rw,noatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=4454,subvol=/@) /dev/sdc3 on /home type btrfs (rw,noatime,compress=lzo,ssd,space_cache,autodefrag,subvolid=4455,subvol=/@home)
UUID=8f0c1661-4e84-4512-b875-23bcfd5be1d8 / btrfs rw,noatime,space_cache,compress=lzo,autodefrag,subvol=@ 0 1 UUID=8f0c1661-4e84-4512-b875-23bcfd5be1d8 /home btrfs rw,noatime,space_cache,compress=lzo,autodefrag,subvol=@home 0 2
:~$ sudo mount /dev/sdc3 /mnt/subvolumes :~$ ls -l /mnt/subvolumes drwxr-xr-x 1 root root 286 Aug 17 09:52 @/ drwxr-xr-x 1 root root 38 Apr 1 09:30 @home/
:~$ df Filesystem Size Used Avail Use% Mounted on /dev/sdc3 460G 303G 156G 66% / /dev/sdc3 460G 303G 156G 66% /home
[FONT=monospace][COLOR=#000000]# btrfs filesystem show /[/COLOR] Label: none uuid: 12980ae8-4117-4cc5-bbb8-8065e82af93d Total devices 2 FS bytes used 130.47GiB devid 1 size 691.19GiB used 135.03GiB path /dev/sda1 devid 2 size 698.64GiB used 135.03GiB path /dev/sdc or [/FONT][FONT=monospace][COLOR=#000000]# btrfs filesystem show [/COLOR] Label: none uuid: 12980ae8-4117-4cc5-bbb8-8065e82af93d Total devices 2 FS bytes used 130.47GiB devid 1 size 691.19GiB used 135.03GiB path /dev/sda1 devid 2 size 698.64GiB used 135.03GiB path /dev/sdc Label: none uuid: 17f4fe91-5cbc-46f6-9577-10aa173ac5f6 Total devices 1 FS bytes used 327.49GiB devid 1 size 698.63GiB used 332.02GiB path /dev/sdb1 [/FONT]
[FONT=monospace][COLOR=#000000]# btrfs filesystem df /[/COLOR] Data, RAID1: total=133.00GiB, used=129.25GiB System, RAID1: total=32.00MiB, used=48.00KiB Metadata, RAID1: total=2.00GiB, used=1.22GiB GlobalReserve, single: total=229.42MiB, used=0.00B [/FONT]
# sudo fdisk -l /dev/sda Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x0003eff1 Device Boot Start End Sectors Size Id Type /dev/sda1 2048 209717247 209715200 100G 5 Extended /dev/sda3 209922048 4075401215 3865479168 1.8T 83 Linux /dev/sda4 4075401216 4532393983 456992768 217.9G 83 Linux /dev/sda5 6144 89309183 89303040 42.6G 83 Linux /dev/sda6 89311232 93530111 4218880 2G 82 Linux swap / Solaris /dev/sda7 * 93532160 209717246 116185087 55.4G 83 Linux Partition table entries are not in disk order.
Create a new partition (27.67 GiB, btrfs) on ‘/dev/sda’ Job: Create new partition on device ‘/dev/sda’ [FONT=Monospace]Failed to add partition ‘New Partition’ to device ‘/dev/sda’.[/FONT] [FONT=Monospace]starting sector number, 4532393984 exceeds the msdos-partition-table-imposed maximum of 4294967295[/FONT] [FONT=Monospace]Failed to add partition ‘New Partition’ to device ‘/dev/sda’.[/FONT] Create new partition on device ‘/dev/sda’: Error Create a new partition (27.67 GiB, btrfs) on ‘/dev/sda’: Error
There are 0 users viewing this topic.
Leave a comment: