replacement disks and mounting points?


Recommended Posts

Hi all,

Forgive me if this is a simple Linux question,, but I'm still dabbling with Linux Mint once in a while...

But... Say I have a external, mounted drive containing files that I can access with applications from within Linux Mint.
Now this drive has become too small. so I move the files over to a larger drive.

Will this new external drive be 'seen' differently in Linux, eg /dev/sdc2 instead of /dev/sdc1?
If so, if I keep my mounting name scheme the same, will Linux still be able to recognize the files on the new drive for any applications that used them before?

I've been browsing the web, but it's a jumble. As always when I dive more into Linux stuff like this.... ;)

cheers for any answers,

rob

 

So you're saying if I swap out one external drive for another, the drive /dev/id will stay the same in Linux?
If so, the mounts I set up for the various folders on the external disk would not have to change too.

I have no physical hardware to test this atm, so still wondering if this would work.

Edited by Dutchie64

It might stay the same, or it might not. Depends on quite a few factors.
Still, even if it changes, it shouldn't matter. Your apps were almost certainly accessing the filesystem via mount points. So you'd simply adjust the given mount point to point to the corresponding new device/partition. Esentially the equivalent of assigning a different drive letter in Windows if that makes it more familiar to you.

This could of course get more tricky if the drive in question contained any system partitions and not just data, as that would have to be taken care of first for the system to start correctly, but it sounds like that's not the case.

@Case_f Thanks for the reply as well.
And yes, the Windows example helps as well to understand what Linux is doing in the background.

I'll see if I can test this out in a VM with some extra drives and see where things could breaks, before I start using this on real hardware.
But the principle is clear now.

Thanks again! :)
 

I would say make sure they use GPT over MBR and mount with the partition GUID instead, the /dev/sd## can change unexpectedly, though are usually tied to how the kernel enumerates over the devices at boot up.

as for the mount point (eg. /media/drivename /mnt/drivename) it's as simple as remounting, most times the auto-mount takes the name from the partition label.

@Matthew S.
Thanks!

MBR doesn't have much use nowadays with the drives being so large now, especially harddisks. I don't think I had a drive set up with MBR for... well.. long time ago ;)
But mounting with the GUID is something to look into as well, as sd## might change as you say.

Linux can be a bit more hands-on, but I always tinkered with Windows as well since 3.0 came out.
So breaking things has become a part of the story here :D

cheers all!

Yep, I thought about mentioning mounting via UUID as well, as that is most definitely more "stable" against devices suddenly enumerating differently if/when a new device is connected (as the /dev/sd## might change as a result of that, but partition UUID will not) and is definitely the recommended way to mount partitions these days, but didn't want to complicate things too much and it seemed like with the drive being external and just swapped one for another, that's less of a concern in this case.

Still, certainly something to familiarize yourself with.

I've already been tinkering on my VM with extra drives, and paths for application files etc.
So far it seems to work as expected. Even with transporting databases from Windows to Linux and changing file paths in those.
So far so good! :)

  • 3 weeks later...
On 19/09/2025 at 23:00, remixedcat said:

what drives and capacities?

All this has been resolved. No need to confuse other  readers here.
Meow? Meow!

  • Haha 2

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • iPhone 18 Pro Camera Goes Mechanical: Variable Aperture, 2nm Chip, Dark Cherry Due September https://www.techtimes.com/arti...rk-cherry-due-september.htm Apple Liquid Glass iOS 27: WWDC 2026 Brings Refinements Developers Must Adopt Today https://www.techtimes.com/arti...lopers-must-adopt-today.htm Apple WWDC 2026: Siri Rebuilt on Gemini, homeOS Previewed in Cook Farewell Keynote https://www.techtimes.com/arti...d-cook-farewell-keynote.htm
    • Zen Browser 1.21.1b is out.
    • Bose QuietComfort Ultra Gen 2 headphones are down to lowest price in over a month by Taras Buria Bose's second-gen QuietComfort Ultra headphones are premium over-ear headphones with noise cancellation, but right now, you can save 16%, thanks to a discount that brought the headphones to a new lowest price in over a month. While the general look and aesthetics remain unchanged compared to the previous gen, the Gen 2 features redesigned wear-detection sensors, which accurately pause your music the moment you take them off. Additionally, the headphones now support lossless audio via a direct USB-C wired connection, letting you enjoy uncompressed sound when plugged into your laptop or phone. There is also spatial audio support (works wirelessly) for a more immersive audio experience and improved noise cancellation, which makes the QuietComfort Ultra go-to headphones for many users on long flights or other scenarios when they need to isolate themselves from the surrounding noise. The QuietComfort Ultra (Gen 2) also features Bluetooth Multipoint for seamless switching between two devices at once. As for battery life, you get up to 30 hours on a single charge (up to 23 hours when using spatial audio). Besides good audio quality and noise cancellation, the headphones should be comfortable to wear, thanks to the lightweight 250-gram design and soft protein-leather ear pads. The QuietComfort Ultra Gen 2 are available in four colors, and all five are now available at the lowest price: Bose QuietComfort Ultra Bluetooth Headphones (2nd Gen) - $379 | 16% off on Amazon This Amazon deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Started implementing weapons! Here's a little sneak peek! 👀 Animation was done inside of Unreal Engine using Control Rig! Really useful tool, I don't have to go back and forth between Blender and UE, you can basically make tweaks while the game is running.
    • Keep in mind Intuit has lobbied like crazy to keep taxes complicated so they can continue to sell tax software. They also got caught hiding their legally mandated free version so they could release a second one that pushed countless people into charges they didn't need to pay to file. Intuit leads the charge on inventing problems so they can sell you the solution and disrespecting you in the process.
  • Recent Achievements

    • Week One Done
      agatameier earned a badge
      Week One Done
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      +Edouard
      175
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!