Is there a way to create a partition on HDD as BTRFS (For Snapshots)? I Missed during setup / install. New to linux.. My LM 22.3 Cinnemon is installed on nvme and I Have a HDD of 4 TB, I want to allocate 500GB for snalshots and format it as BTRFS but I am not getting that option anywhere. Currently its formatted as ext4. New to linux.. this is just 1st week..
#Partition
43 messages · Page 1 of 1 (latest)
if the linux OS is on an ext4 partition, you can use BTRFS for the backup drive, but it will still only work with rsync method
oh, then no use of formatting it as btrfs? Dats wat ur saying?
it's your choice
do you want to erase whole 4 tb drive?
or just shrink a part of it?
No I mean if there are no positives / benefits of doing it, I would prefer not to mess with what is already up and running..
show result of sudo parted -l from big terminal please
Yeah shrink 500 GB of it, format as BTRFS and use for snapshots if that much is enough
mandar@Linux-PC:~$ sudo parted -l
[sudo] password for mandar:
Model: ATA WDC WDS240G2G0A- (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 240GB 240GB primary ext4
Model: ATA ST4000DM004-2CV1 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 32.8kB 4001GB 4001GB ext4 Basic data partition
Model: ATA ST4000DM004-2CV1 (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2147GB 2147GB ext4 Basic data partition
2 2147GB 4001GB 1853GB ext4 Basic data partition
Model: KINGSTON SNVS500G (nvme)
Disk /dev/nvme0n1: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 500GB 500GB ext4
mandar@Linux-PC:~$
show lsblk -f
mandar@Linux-PC:~$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1 ext4 1.0 OLD-SSD 0dd283ba-d9fc-4b4a-a3ea-09a4ec411082 22.5G 85% /mnt/OLD-SSD
sdb
└─sdb1 ext4 1.0 Data d3b33c02-d9cd-4726-87cb-c813d099f211 2.9T 13% /mnt/Data
sdc
├─sdc1 ext4 1.0 Personal 7e901ce0-58e2-4cd2-801c-8ee75dd67192 1.7T 5% /mnt/Personal
└─sdc2 ext4 1.0 Business 596aedf7-23db-43b4-8bd0-83669fa82d6b 1.6T 1% /mnt/Business
nvme0n1
├─nvme0n1p1 vfat FAT32 986D-92AD 504.8M 1% /boot/efi
└─nvme0n1p2 ext4 1.0 eb7e8e94-2580-4fa2-98b0-b7aa87758ab5 304.4G 28% /
mandar@Linux-PC:~$
ok linux is on ext4
may as well not touch any of the hdd's
they're already all ext4
the only
Yeah all on ext4, but I wanted to go for BTRFS (If it can perform better) on SDB1 with 500 GB partition.. I dunno.. watched few videos on YOutube saying BTRFS is better for snapshots, so wanted to go for it.. but as ur suggesting that it wont bebenefetial, then no point in doing that..
it wont make a difference or "perform better"
just 1st week on Linux and already reinstalled it once and recently reverted with Timewshift 1 time..
Ok then, thanks for telling .. wont do it then..
the point is to direct timeshift to use one of those drives , say the sdb. which seems to be set to automatically mount to /mnt/Data
I will however refer you to a vid with a cool tip for your data drives.
yeah all are automounted.. i used disks option to do that.. earlier those were not mounting automatically.. now they r
Yeah pls tell me.. but pls keep in mind.. m new.. doesnt know ABC abt linux
this guy in vid has tons of good info, and is relaxing to listen to
who? can u send me the link of any 1 of his video pls? wil sub then
i link from timestamp
Also if u can do me 1 more favor.. can u pls suggest me a book or something to understand Linux..
the part for the optimization
but u can watch all as well
MIND BLOWING SUPER COOL LINUX COMMANDS
NOTE: YouTube won't allow the angled brackets that represent "greater than" and "less than" to be posted in the description text. I have indicated their use in the commends below but you'll have to replace them yourself. :)
CREATE A TEXT FILE WITHOUT USING AN EDITOR
cat (greater than) myfile.txt
-- Creat...
before u do it, look at df -h command now (FSAVAIL)
and note the "filesystem available" column
Yeah, M already Sub to this channel.. Thanks 🙂
mandar@Linux-PC:~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.2G 5.2M 3.2G 1% /run
efivarfs 128K 48K 76K 39% /sys/firmware/efi/efivars
/dev/nvme0n1p2 457G 130G 305G 30% /
tmpfs 16G 374M 16G 3% /dev/shm
tmpfs 5.0M 20K 5.0M 1% /run/lock
/dev/nvme0n1p1 511M 6.2M 505M 2% /boot/efi
/dev/sdb1 3.6T 463G 3.0T 14% /mnt/Data
/dev/sdc2 1.7T 19G 1.6T 2% /mnt/Business
/dev/sdc1 2.0T 90G 1.8T 5% /mnt/Personal
/dev/sda1 220G 186G 23G 90% /mnt/OLD-SSD
tmpfs 3.2G 248K 3.2G 1% /run/user/1000
mandar@Linux-PC:~$
sdb1, sdc1, sdc2 you may want to optimize to 0 as he says
nvme0n1p2 you may want to optimize to 1
sda1 , also ext4. if it's data only u can optimize to 0
what does that even mean? Brother.. piity on me pls.. Linux is already complicated.. what ur telling must b valuable.. but I am not understanding what you are telling me.. Sorry is I am sounding SIlly
just listen to the vid for 10 minutes from timestamp