Jump to content

Ubuntu server: Unmounted drive showing as "device or resource busy"

I'm following this guide for bcache:

https://wiki.ubuntu.com/ServerTeam/Bcache

 

I have a sata ssd that I'm not using in my gaming pc that I put into my server to cache my steamcache to make it faster. The drive isn't mounted in linux and I've tried reformatting the drive, using umount and using wipefs with the force option enabled. None of these have worked. On the steps for wipefs and make-bcache in the guide they both return the same error for /dev/sdc which is "device or resource busy" as far as I understand since the drive isn't mounted to the filesystem no processes should be using the drive so I can't figure out exactly why linux isn't letting me use wipefs or make-bcache.

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, Withenex said:

I put into my server to cache my steamcache to make it faster

This probably won't matter, as your limited by a gigabit network connection here.

 

What exact command are you using?

 

You can use lsof to find what is using the drive

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

On 7/18/2021 at 5:53 PM, Electronics Wizardy said:

This probably won't matter, as your limited by a gigabit network connection here.

 

What exact command are you using?

 

You can use lsof to find what is using the drive

 

 

I'll have to check when I get home but my steam cache transfers are around 100mbps

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Withenex said:

I'll have to check when I get home but my steam cache transfers are around 100mbps

Bits or bytes?

 

What speed is your network?

 

Bytes would make sense for a gig network, and a cache won't help at all as your network limited anyways.

Link to comment
Share on other sites

Link to post
Share on other sites

20 hours ago, Electronics Wizardy said:

Bits or bytes?

 

What speed is your network?

 

Bytes would make sense for a gig network, and a cache won't help at all as your network limited anyways.

Bits

I used iperf3 to test the speed between the two hosts and it is consistent with gigabit network speeds. I tested the drive speed as well but I forgot the tool I used but it also should be able to reach those speeds as well but in practice I'm not getting nearly the performance I should

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Withenex said:

Bits

I used iperf3 to test the speed between the two hosts and it is consistent with gigabit network speeds. I tested the drive speed as well but I forgot the tool I used but it also should be able to reach those speeds as well but in practice I'm not getting nearly the performance I should

What is the disk utlization on the server? What does something like iostat show?

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, Electronics Wizardy said:

What is the disk utlization on the server? What does something like iostat show?

When downloading from lancache it's something like 20MBps according to iotop

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Withenex said:

When downloading from lancache it's something like 20MBps according to iotop

What is the disk utilization on the server? What is the cpu usage?

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×