Write Permission Denied (FileZilla); Fixed

Long story short, the drives were formatted BTRFS and FileZilla wants them to be NFTS.
I have written a tutorial on how I was able to make them work, you can follow along or find out yourself, but you do need to format them as NFTS so that FileZilla can write to them.

Now, the long story:
I was searching everywhere for a solution on my FileZilla (FZ) situation. I had two drives brought over from my windows and repurposed for my homelab, those worked perfectly. I outgrew them quick and needed more storage, but HDD’s are expensive in today’s market. Someone near me was selling a lot that contained 6x4tb SAS drives and I needed a way to make them work on my z590 mobo.

Figured out I can use a 9211-8i 6G SAS HBA LSI that connects to my PCIex8 slot and that gained me 8x SAS slots (powered through molex sata power adapters) and I was able to format them and get them to work after formatting them.

However, I realized that even after mounting to the container on FZ I was not able to write anything to these drives at all (within FZ). Kept getting writing permission: denied. I thought because they were SAS drives on some LSI board and that for some reason they did not work. For a moment there I thought that FZ only supported two drives too, almost got FZ PRO. I was going crazy trying to solve this. Especially because I did not want to kill one of my drives with a lot of write cycles and then have to wait and write AGAIN to the drive I wanted in the first place.

Eventually as the spoiler in the beginning says, I figured out that the btrfs does not have writing permission within FZ for some reason. Read somethings about changing ownership and permissions but it did not work. Had to resort to formatting the HDD and then partitioning to nfts.

The way I did that was through the following (assuming you just want one full 100% partition and not split, just one volume):

➜ $ lsblk (skip if you know your drive)
(look for drive ex. /dev/sdX)

➜ $ sudo umount /dev/sdX

➜ $ sudo parted /dev/sdX
GNU Parted 3.6
Using /dev/sdX
Welcome to GNU Parted! Type ‘help’ to view a list of commands.

(parted) mklabel

New disk label type? gpt (gpt because over 2tb drive)

Warning: The existing disk label on /dev/sdX will be destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? Yes

(parted) mkpart

Partition name? ? primary

File system type? [ext2]? ext4

Start? 0%

End? 100%

(parted) align-check

alignment type(min/opt) [optimal]/minimal? minimal

Partition number? 1
1 aligned

(parted) quit
Information: You may need to update /etc/fstab.

➜ $ sudo cp /etc/fstab /etc/fstab.bak

➜ $ lsblk -f
(confirm your drive has a new sdX1)

➜ $ sudo mkfs -t ntfs /dev/sdX1
Cluster size has been automatically set to 4096 bytes.
Initializing device with zeroes: 0%
100% - Done.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.

(THIS TOOK A WHILE)

(if you want to confirm sdX1 is now nfts)
➜ $ lsblk -f