Can not safely remove external hard drive?
Notice
I could not find the solution but after installing Ubuntu 16.04.2 LTS the problem no longer exists!
The Problem
I have a 1TB Transcend external hdd (inner chip is WDC_WD10JPVX-22JC3T0_WD-WX11A15R3AC8) and when I try to safely remove it either from file manager or even from command line with udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb1, it immediately pops up again and won't power off.
I'm using Ubuntu 16.04.1 LTS.
- It happens either USB2 or USB3.
- It can safely be removed in either Mac or Windows!
- I tried 16.04 live and could not safely remove! but my HD can be safely removed in a live 16.04 booted in another PC, and also can be safely removed in my laptop in Windows!
These are some output after running udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb:
- udevadm monitor
- udisksctl monitor
16.04 hard-drive lts unmount
|
show 26 more comments
Notice
I could not find the solution but after installing Ubuntu 16.04.2 LTS the problem no longer exists!
The Problem
I have a 1TB Transcend external hdd (inner chip is WDC_WD10JPVX-22JC3T0_WD-WX11A15R3AC8) and when I try to safely remove it either from file manager or even from command line with udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb1, it immediately pops up again and won't power off.
I'm using Ubuntu 16.04.1 LTS.
- It happens either USB2 or USB3.
- It can safely be removed in either Mac or Windows!
- I tried 16.04 live and could not safely remove! but my HD can be safely removed in a live 16.04 booted in another PC, and also can be safely removed in my laptop in Windows!
These are some output after running udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb:
- udevadm monitor
- udisksctl monitor
16.04 hard-drive lts unmount
Is this plugged into a USB3 port?
– heynnema
Nov 2 '16 at 1:04
@heynnema, yes it is.:)
– Masked Man
Nov 2 '16 at 7:43
Try plugging it into a USB2 port, and see if it still occurs. I'm checking on reports that it may be a USB3 issue. Report back.
– heynnema
Nov 2 '16 at 14:03
@heynnema, no it's the same:)
– Masked Man
Nov 2 '16 at 19:42
1
@user.dz, dpkg -l smart and udevadm-monitor and udisksctl-monitor
– Masked Man
Nov 26 '16 at 19:32
|
show 26 more comments
Notice
I could not find the solution but after installing Ubuntu 16.04.2 LTS the problem no longer exists!
The Problem
I have a 1TB Transcend external hdd (inner chip is WDC_WD10JPVX-22JC3T0_WD-WX11A15R3AC8) and when I try to safely remove it either from file manager or even from command line with udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb1, it immediately pops up again and won't power off.
I'm using Ubuntu 16.04.1 LTS.
- It happens either USB2 or USB3.
- It can safely be removed in either Mac or Windows!
- I tried 16.04 live and could not safely remove! but my HD can be safely removed in a live 16.04 booted in another PC, and also can be safely removed in my laptop in Windows!
These are some output after running udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb:
- udevadm monitor
- udisksctl monitor
16.04 hard-drive lts unmount
Notice
I could not find the solution but after installing Ubuntu 16.04.2 LTS the problem no longer exists!
The Problem
I have a 1TB Transcend external hdd (inner chip is WDC_WD10JPVX-22JC3T0_WD-WX11A15R3AC8) and when I try to safely remove it either from file manager or even from command line with udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb1, it immediately pops up again and won't power off.
I'm using Ubuntu 16.04.1 LTS.
- It happens either USB2 or USB3.
- It can safely be removed in either Mac or Windows!
- I tried 16.04 live and could not safely remove! but my HD can be safely removed in a live 16.04 booted in another PC, and also can be safely removed in my laptop in Windows!
These are some output after running udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb:
- udevadm monitor
- udisksctl monitor
16.04 hard-drive lts unmount
16.04 hard-drive lts unmount
edited Apr 16 '17 at 19:09
Masked Man
asked Nov 1 '16 at 8:11
Masked ManMasked Man
131111
131111
Is this plugged into a USB3 port?
– heynnema
Nov 2 '16 at 1:04
@heynnema, yes it is.:)
– Masked Man
Nov 2 '16 at 7:43
Try plugging it into a USB2 port, and see if it still occurs. I'm checking on reports that it may be a USB3 issue. Report back.
– heynnema
Nov 2 '16 at 14:03
@heynnema, no it's the same:)
– Masked Man
Nov 2 '16 at 19:42
1
@user.dz, dpkg -l smart and udevadm-monitor and udisksctl-monitor
– Masked Man
Nov 26 '16 at 19:32
|
show 26 more comments
Is this plugged into a USB3 port?
– heynnema
Nov 2 '16 at 1:04
@heynnema, yes it is.:)
– Masked Man
Nov 2 '16 at 7:43
Try plugging it into a USB2 port, and see if it still occurs. I'm checking on reports that it may be a USB3 issue. Report back.
– heynnema
Nov 2 '16 at 14:03
@heynnema, no it's the same:)
– Masked Man
Nov 2 '16 at 19:42
1
@user.dz, dpkg -l smart and udevadm-monitor and udisksctl-monitor
– Masked Man
Nov 26 '16 at 19:32
Is this plugged into a USB3 port?
– heynnema
Nov 2 '16 at 1:04
Is this plugged into a USB3 port?
– heynnema
Nov 2 '16 at 1:04
@heynnema, yes it is.
:)– Masked Man
Nov 2 '16 at 7:43
@heynnema, yes it is.
:)– Masked Man
Nov 2 '16 at 7:43
Try plugging it into a USB2 port, and see if it still occurs. I'm checking on reports that it may be a USB3 issue. Report back.
– heynnema
Nov 2 '16 at 14:03
Try plugging it into a USB2 port, and see if it still occurs. I'm checking on reports that it may be a USB3 issue. Report back.
– heynnema
Nov 2 '16 at 14:03
@heynnema, no it's the same
:)– Masked Man
Nov 2 '16 at 19:42
@heynnema, no it's the same
:)– Masked Man
Nov 2 '16 at 19:42
1
1
@user.dz, dpkg -l smart and udevadm-monitor and udisksctl-monitor
– Masked Man
Nov 26 '16 at 19:32
@user.dz, dpkg -l smart and udevadm-monitor and udisksctl-monitor
– Masked Man
Nov 26 '16 at 19:32
|
show 26 more comments
3 Answers
3
active
oldest
votes
I have a cheap WD Black that has the same issue and there is no firmware update available. As I use it as a back-up drive that I only attach 1/week, I stopped worrying about it and unmount all partitions and then just unplug it...
Has been successful for the last 4 years or so.
I know it is not so harmful to unplug it after unmounting as I can hear it spins down itself, but I'm looking for the right way! so I upvoted your answer but did not accept it:)
– Masked Man
Nov 1 '16 at 21:56
Thanks... The only solution is a firmware upgrade, as the "hardware" doesn't support it. Didn't look into your specific chipset, but looked into mine and there wasn't one, so I stopped looking after 6 months or so as it was a cheap one meant for backup anyway.
– Fabby
Nov 2 '16 at 6:57
1
I don't think it to be a firmware issue as it was neither Windows nor OSx couldn't safely remove it but they can!:)
– Masked Man
Nov 2 '16 at 7:45
@Fabby note that WD drives have internal parameters that you can tweak, using a WD tool that runs under Windows (see wd.com), and even hdparm in Ubuntu can get to some of them. As memory serves... some parameters had to do with idle time, spin up/down, power saving, etc.
– heynnema
Nov 3 '16 at 15:56
@heynnema Yup, I know, but I don;t have Windows andhdparamdid not show that parameter... ;)
– Fabby
Nov 25 '16 at 10:02
add a comment |
I had the same problem with a 1TB external Seagate hdd. Whenever I safely removed it or ejected it, it got unmounted and remounted within seconds.
The first thing I did was to zero fill the entire hdd with the dd command, because it had some weird partitioning on its own.
Then I created an MBR (msdos) partition table and a unique primary ntfs partition with parted.
This solved the problem of the hdd being automatically remounted after being safely removed or ejected. Also, this keeps the hdd from mounting on its own when plugged to the pc/laptop (for some reason I do not understand).
However, even in the unmounted state, the drive continued spinning. To completely shut it down before removing it from my pc/laptop, I do:
sudo hdparm -Y /dev/sdb
This works for me.
add a comment |
Gnome-disk-utility has "power of this disk" option which I use to power off my external disks safely. Please check the image attached. I'm running Linux Mint 19.1 Tessa
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/3.0/"u003ecc by-sa 3.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%2f844096%2fcan-not-safely-remove-external-hard-drive%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have a cheap WD Black that has the same issue and there is no firmware update available. As I use it as a back-up drive that I only attach 1/week, I stopped worrying about it and unmount all partitions and then just unplug it...
Has been successful for the last 4 years or so.
I know it is not so harmful to unplug it after unmounting as I can hear it spins down itself, but I'm looking for the right way! so I upvoted your answer but did not accept it:)
– Masked Man
Nov 1 '16 at 21:56
Thanks... The only solution is a firmware upgrade, as the "hardware" doesn't support it. Didn't look into your specific chipset, but looked into mine and there wasn't one, so I stopped looking after 6 months or so as it was a cheap one meant for backup anyway.
– Fabby
Nov 2 '16 at 6:57
1
I don't think it to be a firmware issue as it was neither Windows nor OSx couldn't safely remove it but they can!:)
– Masked Man
Nov 2 '16 at 7:45
@Fabby note that WD drives have internal parameters that you can tweak, using a WD tool that runs under Windows (see wd.com), and even hdparm in Ubuntu can get to some of them. As memory serves... some parameters had to do with idle time, spin up/down, power saving, etc.
– heynnema
Nov 3 '16 at 15:56
@heynnema Yup, I know, but I don;t have Windows andhdparamdid not show that parameter... ;)
– Fabby
Nov 25 '16 at 10:02
add a comment |
I have a cheap WD Black that has the same issue and there is no firmware update available. As I use it as a back-up drive that I only attach 1/week, I stopped worrying about it and unmount all partitions and then just unplug it...
Has been successful for the last 4 years or so.
I know it is not so harmful to unplug it after unmounting as I can hear it spins down itself, but I'm looking for the right way! so I upvoted your answer but did not accept it:)
– Masked Man
Nov 1 '16 at 21:56
Thanks... The only solution is a firmware upgrade, as the "hardware" doesn't support it. Didn't look into your specific chipset, but looked into mine and there wasn't one, so I stopped looking after 6 months or so as it was a cheap one meant for backup anyway.
– Fabby
Nov 2 '16 at 6:57
1
I don't think it to be a firmware issue as it was neither Windows nor OSx couldn't safely remove it but they can!:)
– Masked Man
Nov 2 '16 at 7:45
@Fabby note that WD drives have internal parameters that you can tweak, using a WD tool that runs under Windows (see wd.com), and even hdparm in Ubuntu can get to some of them. As memory serves... some parameters had to do with idle time, spin up/down, power saving, etc.
– heynnema
Nov 3 '16 at 15:56
@heynnema Yup, I know, but I don;t have Windows andhdparamdid not show that parameter... ;)
– Fabby
Nov 25 '16 at 10:02
add a comment |
I have a cheap WD Black that has the same issue and there is no firmware update available. As I use it as a back-up drive that I only attach 1/week, I stopped worrying about it and unmount all partitions and then just unplug it...
Has been successful for the last 4 years or so.
I have a cheap WD Black that has the same issue and there is no firmware update available. As I use it as a back-up drive that I only attach 1/week, I stopped worrying about it and unmount all partitions and then just unplug it...
Has been successful for the last 4 years or so.
answered Nov 1 '16 at 20:19
FabbyFabby
26.5k1360159
26.5k1360159
I know it is not so harmful to unplug it after unmounting as I can hear it spins down itself, but I'm looking for the right way! so I upvoted your answer but did not accept it:)
– Masked Man
Nov 1 '16 at 21:56
Thanks... The only solution is a firmware upgrade, as the "hardware" doesn't support it. Didn't look into your specific chipset, but looked into mine and there wasn't one, so I stopped looking after 6 months or so as it was a cheap one meant for backup anyway.
– Fabby
Nov 2 '16 at 6:57
1
I don't think it to be a firmware issue as it was neither Windows nor OSx couldn't safely remove it but they can!:)
– Masked Man
Nov 2 '16 at 7:45
@Fabby note that WD drives have internal parameters that you can tweak, using a WD tool that runs under Windows (see wd.com), and even hdparm in Ubuntu can get to some of them. As memory serves... some parameters had to do with idle time, spin up/down, power saving, etc.
– heynnema
Nov 3 '16 at 15:56
@heynnema Yup, I know, but I don;t have Windows andhdparamdid not show that parameter... ;)
– Fabby
Nov 25 '16 at 10:02
add a comment |
I know it is not so harmful to unplug it after unmounting as I can hear it spins down itself, but I'm looking for the right way! so I upvoted your answer but did not accept it:)
– Masked Man
Nov 1 '16 at 21:56
Thanks... The only solution is a firmware upgrade, as the "hardware" doesn't support it. Didn't look into your specific chipset, but looked into mine and there wasn't one, so I stopped looking after 6 months or so as it was a cheap one meant for backup anyway.
– Fabby
Nov 2 '16 at 6:57
1
I don't think it to be a firmware issue as it was neither Windows nor OSx couldn't safely remove it but they can!:)
– Masked Man
Nov 2 '16 at 7:45
@Fabby note that WD drives have internal parameters that you can tweak, using a WD tool that runs under Windows (see wd.com), and even hdparm in Ubuntu can get to some of them. As memory serves... some parameters had to do with idle time, spin up/down, power saving, etc.
– heynnema
Nov 3 '16 at 15:56
@heynnema Yup, I know, but I don;t have Windows andhdparamdid not show that parameter... ;)
– Fabby
Nov 25 '16 at 10:02
I know it is not so harmful to unplug it after unmounting as I can hear it spins down itself, but I'm looking for the right way! so I upvoted your answer but did not accept it
:)– Masked Man
Nov 1 '16 at 21:56
I know it is not so harmful to unplug it after unmounting as I can hear it spins down itself, but I'm looking for the right way! so I upvoted your answer but did not accept it
:)– Masked Man
Nov 1 '16 at 21:56
Thanks... The only solution is a firmware upgrade, as the "hardware" doesn't support it. Didn't look into your specific chipset, but looked into mine and there wasn't one, so I stopped looking after 6 months or so as it was a cheap one meant for backup anyway.
– Fabby
Nov 2 '16 at 6:57
Thanks... The only solution is a firmware upgrade, as the "hardware" doesn't support it. Didn't look into your specific chipset, but looked into mine and there wasn't one, so I stopped looking after 6 months or so as it was a cheap one meant for backup anyway.
– Fabby
Nov 2 '16 at 6:57
1
1
I don't think it to be a firmware issue as it was neither Windows nor OSx couldn't safely remove it but they can!
:)– Masked Man
Nov 2 '16 at 7:45
I don't think it to be a firmware issue as it was neither Windows nor OSx couldn't safely remove it but they can!
:)– Masked Man
Nov 2 '16 at 7:45
@Fabby note that WD drives have internal parameters that you can tweak, using a WD tool that runs under Windows (see wd.com), and even hdparm in Ubuntu can get to some of them. As memory serves... some parameters had to do with idle time, spin up/down, power saving, etc.
– heynnema
Nov 3 '16 at 15:56
@Fabby note that WD drives have internal parameters that you can tweak, using a WD tool that runs under Windows (see wd.com), and even hdparm in Ubuntu can get to some of them. As memory serves... some parameters had to do with idle time, spin up/down, power saving, etc.
– heynnema
Nov 3 '16 at 15:56
@heynnema Yup, I know, but I don;t have Windows and
hdparam did not show that parameter... ;)– Fabby
Nov 25 '16 at 10:02
@heynnema Yup, I know, but I don;t have Windows and
hdparam did not show that parameter... ;)– Fabby
Nov 25 '16 at 10:02
add a comment |
I had the same problem with a 1TB external Seagate hdd. Whenever I safely removed it or ejected it, it got unmounted and remounted within seconds.
The first thing I did was to zero fill the entire hdd with the dd command, because it had some weird partitioning on its own.
Then I created an MBR (msdos) partition table and a unique primary ntfs partition with parted.
This solved the problem of the hdd being automatically remounted after being safely removed or ejected. Also, this keeps the hdd from mounting on its own when plugged to the pc/laptop (for some reason I do not understand).
However, even in the unmounted state, the drive continued spinning. To completely shut it down before removing it from my pc/laptop, I do:
sudo hdparm -Y /dev/sdb
This works for me.
add a comment |
I had the same problem with a 1TB external Seagate hdd. Whenever I safely removed it or ejected it, it got unmounted and remounted within seconds.
The first thing I did was to zero fill the entire hdd with the dd command, because it had some weird partitioning on its own.
Then I created an MBR (msdos) partition table and a unique primary ntfs partition with parted.
This solved the problem of the hdd being automatically remounted after being safely removed or ejected. Also, this keeps the hdd from mounting on its own when plugged to the pc/laptop (for some reason I do not understand).
However, even in the unmounted state, the drive continued spinning. To completely shut it down before removing it from my pc/laptop, I do:
sudo hdparm -Y /dev/sdb
This works for me.
add a comment |
I had the same problem with a 1TB external Seagate hdd. Whenever I safely removed it or ejected it, it got unmounted and remounted within seconds.
The first thing I did was to zero fill the entire hdd with the dd command, because it had some weird partitioning on its own.
Then I created an MBR (msdos) partition table and a unique primary ntfs partition with parted.
This solved the problem of the hdd being automatically remounted after being safely removed or ejected. Also, this keeps the hdd from mounting on its own when plugged to the pc/laptop (for some reason I do not understand).
However, even in the unmounted state, the drive continued spinning. To completely shut it down before removing it from my pc/laptop, I do:
sudo hdparm -Y /dev/sdb
This works for me.
I had the same problem with a 1TB external Seagate hdd. Whenever I safely removed it or ejected it, it got unmounted and remounted within seconds.
The first thing I did was to zero fill the entire hdd with the dd command, because it had some weird partitioning on its own.
Then I created an MBR (msdos) partition table and a unique primary ntfs partition with parted.
This solved the problem of the hdd being automatically remounted after being safely removed or ejected. Also, this keeps the hdd from mounting on its own when plugged to the pc/laptop (for some reason I do not understand).
However, even in the unmounted state, the drive continued spinning. To completely shut it down before removing it from my pc/laptop, I do:
sudo hdparm -Y /dev/sdb
This works for me.
answered Mar 21 '17 at 16:07
MikeMike
264
264
add a comment |
add a comment |
Gnome-disk-utility has "power of this disk" option which I use to power off my external disks safely. Please check the image attached. I'm running Linux Mint 19.1 Tessa
add a comment |
Gnome-disk-utility has "power of this disk" option which I use to power off my external disks safely. Please check the image attached. I'm running Linux Mint 19.1 Tessa
add a comment |
Gnome-disk-utility has "power of this disk" option which I use to power off my external disks safely. Please check the image attached. I'm running Linux Mint 19.1 Tessa
Gnome-disk-utility has "power of this disk" option which I use to power off my external disks safely. Please check the image attached. I'm running Linux Mint 19.1 Tessa
answered Dec 25 '18 at 6:39
denideni
111
111
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f844096%2fcan-not-safely-remove-external-hard-drive%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
Is this plugged into a USB3 port?
– heynnema
Nov 2 '16 at 1:04
@heynnema, yes it is.
:)– Masked Man
Nov 2 '16 at 7:43
Try plugging it into a USB2 port, and see if it still occurs. I'm checking on reports that it may be a USB3 issue. Report back.
– heynnema
Nov 2 '16 at 14:03
@heynnema, no it's the same
:)– Masked Man
Nov 2 '16 at 19:42
1
@user.dz, dpkg -l smart and udevadm-monitor and udisksctl-monitor
– Masked Man
Nov 26 '16 at 19:32