External HD mounts to different /media location on every reboot and partialy at thatUnable to mount an LVM Hard-drive after upgradeBoot linux on external hard disk - Send Grub RescueExternal Hard Disk not recognised on USB 3 portRecovery GPT after shrinking partition with sfdisk
What animals do we use, if any, to describe the opposite of "a dog", used for something of an inferior quality?
Lead based stain from 1800’s?
Why doesn't the road lose its thickness to the tyre?
Who owns copyright on works found in a storage unit/attic?
What are the ethical implications of lying to get into a course?
Largest smallest gap
Keeping a healthy immune system on a generation-ship
Why do we use cross products in physics?
New manager unapproved PTO my old manager approved, because of a conference at the same time that's now a "condition of my employment here"
How does Surf crit in a multi-battle?
Should I replace fillable PDFs?
How can an AI freely make decisions on a network?
How important is quick release for a tripod?
Why is JavaScript not compiled to bytecode before sending over the network?
What specifically can swap do that RAM can't
Does removing the US president from office through impeachment affect the validity of the decisions they made?
Directed mutation of viruses in response to drugs
Set PowerShell Aliases with a script
How do planes maintain constant speeds at cruise altitudes?
Simulating these special dice on more regular dice
Generating all 2x2 matrices with entries from 0 to 3 whose det is 1 with mod 2 arithmetic
Who is the narrator of Star Wars?
When was Newton "not good enough" for spaceflight; first use and first absolute requirement for relativistic corrections?
is y[n] = x[n] + n time invariant?
External HD mounts to different /media location on every reboot and partialy at that
Unable to mount an LVM Hard-drive after upgradeBoot linux on external hard disk - Send Grub RescueExternal Hard Disk not recognised on USB 3 portRecovery GPT after shrinking partition with sfdisk
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
The files graphical app always shows my external drive consistently under "Other Location". The external driver is called dropbox.
From the terminal, I get 4 mounts for this hd.
dir /media/john
dropbox dropbox1 dropbox2 dropbox3
And even more strange, I get different views on each of these 4 mounts.
john@john-ubuntu:~$ dir /media/john/dropbox3/transcription_db
tensorboard_logs
john@john-ubuntu:~$ dir /media/john/dropbox2/transcription_db
run_results tensorboard_logs
john@john-ubuntu:~$ dir /media/john/dropbox1/transcription_db
crops_sets
john@john-ubuntu:~$ dir /media/john/dropbox/transcription_db
crops_sets
Most of the time, one of these contains the full list of files, but sometimes each captures only a partial view.
Is there a way to fix where the external hard drive gets installed?
Other info :
john@john-ubuntu:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=eae8cd57-5861-41df-95ae-8e5e79a2c6b2 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
Ubuntu 18.04.2 LTS
sudo fdisk -l
....
Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 27569B50-D174-424A-A7BF-4A0E7353C4D9
Device Start End Sectors Size Type
/dev/sdb1 2048 7814035455 7814033408 3.7T Microsoft basic data
Another post suggested this, but it does not work
sudo mount -t ntfs /dev/sdb1 /media
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
I just rebooted, looked at the drive with "Files" graphical app. All was good there as usual. In the terminal, I now have a 4th mount and this one has all the content.
dir /media/john/dropbox4/transcription_db
crops_sets db backups run_results tensorboard_logs user_files
john@john-ubuntu:~$ mount | grep /dev/sdb1
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
disk graphical app -> Additional partion options -> Edit mount options
I tried making the following entry to fstab and the system failed to boot:
mount external-hdd
|
show 6 more comments
The files graphical app always shows my external drive consistently under "Other Location". The external driver is called dropbox.
From the terminal, I get 4 mounts for this hd.
dir /media/john
dropbox dropbox1 dropbox2 dropbox3
And even more strange, I get different views on each of these 4 mounts.
john@john-ubuntu:~$ dir /media/john/dropbox3/transcription_db
tensorboard_logs
john@john-ubuntu:~$ dir /media/john/dropbox2/transcription_db
run_results tensorboard_logs
john@john-ubuntu:~$ dir /media/john/dropbox1/transcription_db
crops_sets
john@john-ubuntu:~$ dir /media/john/dropbox/transcription_db
crops_sets
Most of the time, one of these contains the full list of files, but sometimes each captures only a partial view.
Is there a way to fix where the external hard drive gets installed?
Other info :
john@john-ubuntu:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=eae8cd57-5861-41df-95ae-8e5e79a2c6b2 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
Ubuntu 18.04.2 LTS
sudo fdisk -l
....
Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 27569B50-D174-424A-A7BF-4A0E7353C4D9
Device Start End Sectors Size Type
/dev/sdb1 2048 7814035455 7814033408 3.7T Microsoft basic data
Another post suggested this, but it does not work
sudo mount -t ntfs /dev/sdb1 /media
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
I just rebooted, looked at the drive with "Files" graphical app. All was good there as usual. In the terminal, I now have a 4th mount and this one has all the content.
dir /media/john/dropbox4/transcription_db
crops_sets db backups run_results tensorboard_logs user_files
john@john-ubuntu:~$ mount | grep /dev/sdb1
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
disk graphical app -> Additional partion options -> Edit mount options
I tried making the following entry to fstab and the system failed to boot:
mount external-hdd
thanks, mook765, I did as you suggested.
– grabbag
Aug 26 at 21:16
1
You could try with Disks->options->Mount options
– guillermo chamorro
Aug 26 at 21:31
The drive is not mounted via fstab, what doesmount | grep /dev/sdb1
show?
– mook765
Aug 26 at 22:34
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
– grabbag
Aug 27 at 18:57
guillermo chamorro: under edit mount options, User Session Defauls is selected everything else is grayed out. Any idea for how to setup non default options to have a consistent mount point?
– grabbag
Aug 27 at 19:02
|
show 6 more comments
The files graphical app always shows my external drive consistently under "Other Location". The external driver is called dropbox.
From the terminal, I get 4 mounts for this hd.
dir /media/john
dropbox dropbox1 dropbox2 dropbox3
And even more strange, I get different views on each of these 4 mounts.
john@john-ubuntu:~$ dir /media/john/dropbox3/transcription_db
tensorboard_logs
john@john-ubuntu:~$ dir /media/john/dropbox2/transcription_db
run_results tensorboard_logs
john@john-ubuntu:~$ dir /media/john/dropbox1/transcription_db
crops_sets
john@john-ubuntu:~$ dir /media/john/dropbox/transcription_db
crops_sets
Most of the time, one of these contains the full list of files, but sometimes each captures only a partial view.
Is there a way to fix where the external hard drive gets installed?
Other info :
john@john-ubuntu:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=eae8cd57-5861-41df-95ae-8e5e79a2c6b2 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
Ubuntu 18.04.2 LTS
sudo fdisk -l
....
Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 27569B50-D174-424A-A7BF-4A0E7353C4D9
Device Start End Sectors Size Type
/dev/sdb1 2048 7814035455 7814033408 3.7T Microsoft basic data
Another post suggested this, but it does not work
sudo mount -t ntfs /dev/sdb1 /media
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
I just rebooted, looked at the drive with "Files" graphical app. All was good there as usual. In the terminal, I now have a 4th mount and this one has all the content.
dir /media/john/dropbox4/transcription_db
crops_sets db backups run_results tensorboard_logs user_files
john@john-ubuntu:~$ mount | grep /dev/sdb1
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
disk graphical app -> Additional partion options -> Edit mount options
I tried making the following entry to fstab and the system failed to boot:
mount external-hdd
The files graphical app always shows my external drive consistently under "Other Location". The external driver is called dropbox.
From the terminal, I get 4 mounts for this hd.
dir /media/john
dropbox dropbox1 dropbox2 dropbox3
And even more strange, I get different views on each of these 4 mounts.
john@john-ubuntu:~$ dir /media/john/dropbox3/transcription_db
tensorboard_logs
john@john-ubuntu:~$ dir /media/john/dropbox2/transcription_db
run_results tensorboard_logs
john@john-ubuntu:~$ dir /media/john/dropbox1/transcription_db
crops_sets
john@john-ubuntu:~$ dir /media/john/dropbox/transcription_db
crops_sets
Most of the time, one of these contains the full list of files, but sometimes each captures only a partial view.
Is there a way to fix where the external hard drive gets installed?
Other info :
john@john-ubuntu:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=eae8cd57-5861-41df-95ae-8e5e79a2c6b2 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
Ubuntu 18.04.2 LTS
sudo fdisk -l
....
Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 27569B50-D174-424A-A7BF-4A0E7353C4D9
Device Start End Sectors Size Type
/dev/sdb1 2048 7814035455 7814033408 3.7T Microsoft basic data
Another post suggested this, but it does not work
sudo mount -t ntfs /dev/sdb1 /media
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
I just rebooted, looked at the drive with "Files" graphical app. All was good there as usual. In the terminal, I now have a 4th mount and this one has all the content.
dir /media/john/dropbox4/transcription_db
crops_sets db backups run_results tensorboard_logs user_files
john@john-ubuntu:~$ mount | grep /dev/sdb1
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
disk graphical app -> Additional partion options -> Edit mount options
I tried making the following entry to fstab and the system failed to boot:
mount external-hdd
mount external-hdd
edited Aug 28 at 19:53
grabbag
asked Aug 26 at 20:29
grabbaggrabbag
1214 bronze badges
1214 bronze badges
thanks, mook765, I did as you suggested.
– grabbag
Aug 26 at 21:16
1
You could try with Disks->options->Mount options
– guillermo chamorro
Aug 26 at 21:31
The drive is not mounted via fstab, what doesmount | grep /dev/sdb1
show?
– mook765
Aug 26 at 22:34
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
– grabbag
Aug 27 at 18:57
guillermo chamorro: under edit mount options, User Session Defauls is selected everything else is grayed out. Any idea for how to setup non default options to have a consistent mount point?
– grabbag
Aug 27 at 19:02
|
show 6 more comments
thanks, mook765, I did as you suggested.
– grabbag
Aug 26 at 21:16
1
You could try with Disks->options->Mount options
– guillermo chamorro
Aug 26 at 21:31
The drive is not mounted via fstab, what doesmount | grep /dev/sdb1
show?
– mook765
Aug 26 at 22:34
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
– grabbag
Aug 27 at 18:57
guillermo chamorro: under edit mount options, User Session Defauls is selected everything else is grayed out. Any idea for how to setup non default options to have a consistent mount point?
– grabbag
Aug 27 at 19:02
thanks, mook765, I did as you suggested.
– grabbag
Aug 26 at 21:16
thanks, mook765, I did as you suggested.
– grabbag
Aug 26 at 21:16
1
1
You could try with Disks->options->Mount options
– guillermo chamorro
Aug 26 at 21:31
You could try with Disks->options->Mount options
– guillermo chamorro
Aug 26 at 21:31
The drive is not mounted via fstab, what does
mount | grep /dev/sdb1
show?– mook765
Aug 26 at 22:34
The drive is not mounted via fstab, what does
mount | grep /dev/sdb1
show?– mook765
Aug 26 at 22:34
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
– grabbag
Aug 27 at 18:57
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
– grabbag
Aug 27 at 18:57
guillermo chamorro: under edit mount options, User Session Defauls is selected everything else is grayed out. Any idea for how to setup non default options to have a consistent mount point?
– grabbag
Aug 27 at 19:02
guillermo chamorro: under edit mount options, User Session Defauls is selected everything else is grayed out. Any idea for how to setup non default options to have a consistent mount point?
– grabbag
Aug 27 at 19:02
|
show 6 more comments
1 Answer
1
active
oldest
votes
User interface way to solve, no messing with command line:
- Click Activities, search for program "disks", launch
- Click on the hard drive
- Click the gears under the "volumes image"
- Select Edit mount options
- Disable "User Session Defaults"
- Enable "Mount at system startup"
- Enable "Show in user interface"
- Enter a value for "mount point" like "mnt/dropbox"
- click ok
- reboot
Now the disk is always available at mnt/dropbox.
Nice answer. I've used it for Backintime to backup my files on an external hard drive in /media
– Ubuntu_enthusiast
Oct 20 at 10:51
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1168725%2fexternal-hd-mounts-to-different-media-location-on-every-reboot-and-partialy-at%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
User interface way to solve, no messing with command line:
- Click Activities, search for program "disks", launch
- Click on the hard drive
- Click the gears under the "volumes image"
- Select Edit mount options
- Disable "User Session Defaults"
- Enable "Mount at system startup"
- Enable "Show in user interface"
- Enter a value for "mount point" like "mnt/dropbox"
- click ok
- reboot
Now the disk is always available at mnt/dropbox.
Nice answer. I've used it for Backintime to backup my files on an external hard drive in /media
– Ubuntu_enthusiast
Oct 20 at 10:51
add a comment
|
User interface way to solve, no messing with command line:
- Click Activities, search for program "disks", launch
- Click on the hard drive
- Click the gears under the "volumes image"
- Select Edit mount options
- Disable "User Session Defaults"
- Enable "Mount at system startup"
- Enable "Show in user interface"
- Enter a value for "mount point" like "mnt/dropbox"
- click ok
- reboot
Now the disk is always available at mnt/dropbox.
Nice answer. I've used it for Backintime to backup my files on an external hard drive in /media
– Ubuntu_enthusiast
Oct 20 at 10:51
add a comment
|
User interface way to solve, no messing with command line:
- Click Activities, search for program "disks", launch
- Click on the hard drive
- Click the gears under the "volumes image"
- Select Edit mount options
- Disable "User Session Defaults"
- Enable "Mount at system startup"
- Enable "Show in user interface"
- Enter a value for "mount point" like "mnt/dropbox"
- click ok
- reboot
Now the disk is always available at mnt/dropbox.
User interface way to solve, no messing with command line:
- Click Activities, search for program "disks", launch
- Click on the hard drive
- Click the gears under the "volumes image"
- Select Edit mount options
- Disable "User Session Defaults"
- Enable "Mount at system startup"
- Enable "Show in user interface"
- Enter a value for "mount point" like "mnt/dropbox"
- click ok
- reboot
Now the disk is always available at mnt/dropbox.
answered Sep 29 at 21:49
grabbaggrabbag
1214 bronze badges
1214 bronze badges
Nice answer. I've used it for Backintime to backup my files on an external hard drive in /media
– Ubuntu_enthusiast
Oct 20 at 10:51
add a comment
|
Nice answer. I've used it for Backintime to backup my files on an external hard drive in /media
– Ubuntu_enthusiast
Oct 20 at 10:51
Nice answer. I've used it for Backintime to backup my files on an external hard drive in /media
– Ubuntu_enthusiast
Oct 20 at 10:51
Nice answer. I've used it for Backintime to backup my files on an external hard drive in /media
– Ubuntu_enthusiast
Oct 20 at 10:51
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1168725%2fexternal-hd-mounts-to-different-media-location-on-every-reboot-and-partialy-at%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
thanks, mook765, I did as you suggested.
– grabbag
Aug 26 at 21:16
1
You could try with Disks->options->Mount options
– guillermo chamorro
Aug 26 at 21:31
The drive is not mounted via fstab, what does
mount | grep /dev/sdb1
show?– mook765
Aug 26 at 22:34
/dev/sdb1 on /media/john/dropbox4 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
– grabbag
Aug 27 at 18:57
guillermo chamorro: under edit mount options, User Session Defauls is selected everything else is grayed out. Any idea for how to setup non default options to have a consistent mount point?
– grabbag
Aug 27 at 19:02