Btrfs mounting on a 12tb drive seems to fail

Here you can discuss every aspect of Debian. Note: not for support requests!

Btrfs mounting on a 12tb drive seems to fail

Postby delina » 2018-12-30 02:07

I am not having much luck getting this 12 tb drive to mount in fstab. I can mount it just find from linux. i tried using the label and the uuid but while mounting it just gets error after a few minutes and drops to console.

Is there some problem with mounting drives this large in fstab ?
delina
 
Posts: 17
Joined: 2018-12-30 02:03

Re: Btrfs mounting on a 12tb drive seems to fail

Postby 4D696B65 » 2018-12-30 03:46

delina wrote:I am not having much luck getting this 12 tb drive to mount in fstab.

post the fstab line
delina wrote:it just gets error after a few minutes and drops to console

what is the error?
delina wrote:Is there some problem with mounting drives this large in fstab ?

not that I know of
User avatar
4D696B65
 
Posts: 2415
Joined: 2009-06-28 06:09

Re: Btrfs mounting on a 12tb drive seems to fail

Postby delina » 2018-12-30 10:23

here is one error i get
failed to mount /mnt/disk21
A start job is running for /mnt/disk21 (1min 44s /3min 1s) [117076028] BTRFS error (device sdk1): open_ctree failed
[FAILED] failed to mount /mnt/disk21
see 'systemctl1 status mnt-disk21.mount' for details
[DEPEND] dependency failed for local file systems.

I did the systemctl1 status mnt-disk21.mount and it just says
Active: failed (result: timeout) since Sun 2018-12-30......
also this
mounting process esited, code=killed status=15
mnt=disk21.mount unit entered failed state


--- I can mount it just fine when the system is loaded.
I tried using uuid or dev id in fstab i tried auto and btrfs as file system it seems to be taking to long to read the drive.
delina
 
Posts: 17
Joined: 2018-12-30 02:03

Re: Btrfs mounting on a 12tb drive seems to fail

Postby delina » 2018-12-30 11:08

If i mount the drive manually

sudo mount /dev/sdk1 /mnt/disk22

This will work but it seems to take near a minute to mount the drive.

I think i need a way to get fstab to wait longer. I tried adding nofail but it still fails.
delina
 
Posts: 17
Joined: 2018-12-30 02:03

Re: Btrfs mounting on a 12tb drive seems to fail

Postby Head_on_a_Stick » 2018-12-30 12:27

delina wrote:If i mount the drive manually

sudo mount /dev/sdk1 /mnt/disk22

This will work but it seems to take near a minute to mount the drive.

Check the systemd journal for any messages during the delay, this will "follow" new entries and print them as they are made:
Code: Select all
journalctl -f

Once the device is mounted manually, check which options have been applied:
Code: Select all
grep sdk1 /proc/self/mounts

And you really do need to post the fstab line you are trying so that we can tell you where you're going wrong.
User avatar
Head_on_a_Stick
 
Posts: 10368
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Btrfs mounting on a 12tb drive seems to fail

Postby delina » 2019-01-02 13:22

for now i kind of got it to work
I used

uuid=xxxxxxxxxxxxxxxxxxxxxxxxxxx /mnt/disk22 btrfs nosuid,nodef.nofail 0 0

so it mounts in /mnt/disk22

the problem is btrfs is so slow mounting it can take over a minute the rest of the drives are all ext4 yet till i understand how btrfs works better. i am running mergerfs and joining the btrfs and ext4 into one large drive. it sort of works the problem is the btrfs drive likes to disappear or un-mount with no warning. I am it seems to be working now for a few days.
I just give a tip if you use btrfs on 12 tb drives it takes a long time for them to mount and do things. They do seem fast enough after they get done with there maintenance.
delina
 
Posts: 17
Joined: 2018-12-30 02:03

Re: Btrfs mounting on a 12tb drive seems to fail

Postby delina » 2019-01-05 07:29

Just a note the disk utility i used was gnome disk utility but it was older version that did not have btrfs support yet. I checked the develpment of that utility and they seem to be adding it so you can specify compression and such in the utility for btrfs. I hope they move this out for stable use soon.
delina
 
Posts: 17
Joined: 2018-12-30 02:03


Return to General Discussion

Who is online

Users browsing this forum: NFT5 and 7 guests

fashionable