Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Btrfs mounting on a 12tb drive seems to fail

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
delina
Posts: 29
Joined: 2018-12-30 02:03

Btrfs mounting on a 12tb drive seems to fail

#1 Post by delina »

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 ?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

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

#2 Post by 4D696B65 »

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

delina
Posts: 29
Joined: 2018-12-30 02:03

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

#3 Post by delina »

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: 29
Joined: 2018-12-30 02:03

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

#4 Post by delina »

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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

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

#5 Post by Head_on_a_Stick »

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.
deadbang

delina
Posts: 29
Joined: 2018-12-30 02:03

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

#6 Post by delina »

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: 29
Joined: 2018-12-30 02:03

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

#7 Post by delina »

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.

Post Reply