newly purchased and formatted (ext4) seagate external hard drive 5tb cannot store files in Lubuntu 18.10 +...












0















I recently purchased a new external Seagate 5tb drive. I am running Lubuntu 18.10 from an external Sandisk USB drive.



I tried to format the 5tb external drive using mkfs.ext4 using the terminal but once i did that, it was not appearing on the file manager sidebar. So I downloaded and used Gparted. Created a GPT partition table and formatted the whole 5tb drive to ext4.



Now the drive appears on the file manager sidebar, but when i try to drag and drop a file, from my Lubuntu usb drive to the external seagate 5tb drive, nothing happens. I tried rebooting, and when i try to move/copy the file again, I get this message:



Error opening file “/media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/testfile.jpg”: Permission denied



Could someone please explain




  1. how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?


  2. why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).



thankyou










share|improve this question




















  • 1





    can you post the output of df -h? it says you don't have permissions, it happened to me that after formatting my external drive, it was owned by root with no write permissions for anyone else, e.g. your normal user. So identifying the disk and doing a sudo chown $(whoami):$(whoami) -R /path/to/disk/ may solve it. About the total space , it's never the same as advertised.

    – bistoco
    Jan 14 at 17:24
















0















I recently purchased a new external Seagate 5tb drive. I am running Lubuntu 18.10 from an external Sandisk USB drive.



I tried to format the 5tb external drive using mkfs.ext4 using the terminal but once i did that, it was not appearing on the file manager sidebar. So I downloaded and used Gparted. Created a GPT partition table and formatted the whole 5tb drive to ext4.



Now the drive appears on the file manager sidebar, but when i try to drag and drop a file, from my Lubuntu usb drive to the external seagate 5tb drive, nothing happens. I tried rebooting, and when i try to move/copy the file again, I get this message:



Error opening file “/media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/testfile.jpg”: Permission denied



Could someone please explain




  1. how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?


  2. why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).



thankyou










share|improve this question




















  • 1





    can you post the output of df -h? it says you don't have permissions, it happened to me that after formatting my external drive, it was owned by root with no write permissions for anyone else, e.g. your normal user. So identifying the disk and doing a sudo chown $(whoami):$(whoami) -R /path/to/disk/ may solve it. About the total space , it's never the same as advertised.

    – bistoco
    Jan 14 at 17:24














0












0








0








I recently purchased a new external Seagate 5tb drive. I am running Lubuntu 18.10 from an external Sandisk USB drive.



I tried to format the 5tb external drive using mkfs.ext4 using the terminal but once i did that, it was not appearing on the file manager sidebar. So I downloaded and used Gparted. Created a GPT partition table and formatted the whole 5tb drive to ext4.



Now the drive appears on the file manager sidebar, but when i try to drag and drop a file, from my Lubuntu usb drive to the external seagate 5tb drive, nothing happens. I tried rebooting, and when i try to move/copy the file again, I get this message:



Error opening file “/media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/testfile.jpg”: Permission denied



Could someone please explain




  1. how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?


  2. why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).



thankyou










share|improve this question
















I recently purchased a new external Seagate 5tb drive. I am running Lubuntu 18.10 from an external Sandisk USB drive.



I tried to format the 5tb external drive using mkfs.ext4 using the terminal but once i did that, it was not appearing on the file manager sidebar. So I downloaded and used Gparted. Created a GPT partition table and formatted the whole 5tb drive to ext4.



Now the drive appears on the file manager sidebar, but when i try to drag and drop a file, from my Lubuntu usb drive to the external seagate 5tb drive, nothing happens. I tried rebooting, and when i try to move/copy the file again, I get this message:



Error opening file “/media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/testfile.jpg”: Permission denied



Could someone please explain




  1. how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?


  2. why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).



thankyou







permissions hard-drive external-hdd filemanager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 14 at 17:43









vidarlo

10.7k52648




10.7k52648










asked Jan 14 at 17:13









arayanarayan

31




31








  • 1





    can you post the output of df -h? it says you don't have permissions, it happened to me that after formatting my external drive, it was owned by root with no write permissions for anyone else, e.g. your normal user. So identifying the disk and doing a sudo chown $(whoami):$(whoami) -R /path/to/disk/ may solve it. About the total space , it's never the same as advertised.

    – bistoco
    Jan 14 at 17:24














  • 1





    can you post the output of df -h? it says you don't have permissions, it happened to me that after formatting my external drive, it was owned by root with no write permissions for anyone else, e.g. your normal user. So identifying the disk and doing a sudo chown $(whoami):$(whoami) -R /path/to/disk/ may solve it. About the total space , it's never the same as advertised.

    – bistoco
    Jan 14 at 17:24








1




1





can you post the output of df -h? it says you don't have permissions, it happened to me that after formatting my external drive, it was owned by root with no write permissions for anyone else, e.g. your normal user. So identifying the disk and doing a sudo chown $(whoami):$(whoami) -R /path/to/disk/ may solve it. About the total space , it's never the same as advertised.

– bistoco
Jan 14 at 17:24





can you post the output of df -h? it says you don't have permissions, it happened to me that after formatting my external drive, it was owned by root with no write permissions for anyone else, e.g. your normal user. So identifying the disk and doing a sudo chown $(whoami):$(whoami) -R /path/to/disk/ may solve it. About the total space , it's never the same as advertised.

– bistoco
Jan 14 at 17:24










1 Answer
1






active

oldest

votes


















2















how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?




The problem is permissions. Run sudo chown username:username /media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/ to change ownership to your user and group. This will give you write permissions on the disk. Replace username with you actual username.




why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).




First, EXT4 reserves some space for root. This defaults to 5% of the available space. This is to stop users from filling a drive completely, allowing some room for root to clean up, and some space is used for a journal.



This can be modified by running sudo tune2fs -m 0 /dev/sdx1, where sdx1 is the partition. You can identify the partition by running sudo lsblk



Second, disks use 1TB = 1000GB, while (most of) the rest of the world uses 1TiB = 1024 GiB. This means that a drive that is advertised as 5TB is actually 5000GB, or 4.88TB. Minus the 30-ish GB consumed for journal and reserved for root, this matches the 4.51 reported as free.






share|improve this answer


























  • if i may clarify, for the chown command i looked up the syntax is username:username however i used username.username . do both these variants have the same meaning for command?

    – arayan
    Jan 16 at 20:56











  • serverfault.com/questions/194295/… - dot is basically the old, depreceated syntax. I will update my answer :)

    – vidarlo
    Jan 16 at 20:59











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109693%2fnewly-purchased-and-formatted-ext4-seagate-external-hard-drive-5tb-cannot-stor%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









2















how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?




The problem is permissions. Run sudo chown username:username /media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/ to change ownership to your user and group. This will give you write permissions on the disk. Replace username with you actual username.




why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).




First, EXT4 reserves some space for root. This defaults to 5% of the available space. This is to stop users from filling a drive completely, allowing some room for root to clean up, and some space is used for a journal.



This can be modified by running sudo tune2fs -m 0 /dev/sdx1, where sdx1 is the partition. You can identify the partition by running sudo lsblk



Second, disks use 1TB = 1000GB, while (most of) the rest of the world uses 1TiB = 1024 GiB. This means that a drive that is advertised as 5TB is actually 5000GB, or 4.88TB. Minus the 30-ish GB consumed for journal and reserved for root, this matches the 4.51 reported as free.






share|improve this answer


























  • if i may clarify, for the chown command i looked up the syntax is username:username however i used username.username . do both these variants have the same meaning for command?

    – arayan
    Jan 16 at 20:56











  • serverfault.com/questions/194295/… - dot is basically the old, depreceated syntax. I will update my answer :)

    – vidarlo
    Jan 16 at 20:59
















2















how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?




The problem is permissions. Run sudo chown username:username /media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/ to change ownership to your user and group. This will give you write permissions on the disk. Replace username with you actual username.




why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).




First, EXT4 reserves some space for root. This defaults to 5% of the available space. This is to stop users from filling a drive completely, allowing some room for root to clean up, and some space is used for a journal.



This can be modified by running sudo tune2fs -m 0 /dev/sdx1, where sdx1 is the partition. You can identify the partition by running sudo lsblk



Second, disks use 1TB = 1000GB, while (most of) the rest of the world uses 1TiB = 1024 GiB. This means that a drive that is advertised as 5TB is actually 5000GB, or 4.88TB. Minus the 30-ish GB consumed for journal and reserved for root, this matches the 4.51 reported as free.






share|improve this answer


























  • if i may clarify, for the chown command i looked up the syntax is username:username however i used username.username . do both these variants have the same meaning for command?

    – arayan
    Jan 16 at 20:56











  • serverfault.com/questions/194295/… - dot is basically the old, depreceated syntax. I will update my answer :)

    – vidarlo
    Jan 16 at 20:59














2












2








2








how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?




The problem is permissions. Run sudo chown username:username /media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/ to change ownership to your user and group. This will give you write permissions on the disk. Replace username with you actual username.




why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).




First, EXT4 reserves some space for root. This defaults to 5% of the available space. This is to stop users from filling a drive completely, allowing some room for root to clean up, and some space is used for a journal.



This can be modified by running sudo tune2fs -m 0 /dev/sdx1, where sdx1 is the partition. You can identify the partition by running sudo lsblk



Second, disks use 1TB = 1000GB, while (most of) the rest of the world uses 1TiB = 1024 GiB. This means that a drive that is advertised as 5TB is actually 5000GB, or 4.88TB. Minus the 30-ish GB consumed for journal and reserved for root, this matches the 4.51 reported as free.






share|improve this answer
















how i may get the external hard drive to be useable? Is it possibly faulty? Could I have done something that may have damaged it by formatting it. Could it perhaps work if i tried a different variant of ubuntu like xubuntu ?




The problem is permissions. Run sudo chown username:username /media/h/f0de3be3-77d2-4ef0-95d9-65f6b7ac5451/ to change ownership to your user and group. This will give you write permissions on the disk. Replace username with you actual username.




why gparted says that 37.76gb is in use in this new external 5tb drive, and only 4.51tb is available ? (The drive i bought was from ebay and heavily discounted, however, there appeared to be a seal on the package and everything seems new).




First, EXT4 reserves some space for root. This defaults to 5% of the available space. This is to stop users from filling a drive completely, allowing some room for root to clean up, and some space is used for a journal.



This can be modified by running sudo tune2fs -m 0 /dev/sdx1, where sdx1 is the partition. You can identify the partition by running sudo lsblk



Second, disks use 1TB = 1000GB, while (most of) the rest of the world uses 1TiB = 1024 GiB. This means that a drive that is advertised as 5TB is actually 5000GB, or 4.88TB. Minus the 30-ish GB consumed for journal and reserved for root, this matches the 4.51 reported as free.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 16 at 20:59

























answered Jan 14 at 17:41









vidarlovidarlo

10.7k52648




10.7k52648













  • if i may clarify, for the chown command i looked up the syntax is username:username however i used username.username . do both these variants have the same meaning for command?

    – arayan
    Jan 16 at 20:56











  • serverfault.com/questions/194295/… - dot is basically the old, depreceated syntax. I will update my answer :)

    – vidarlo
    Jan 16 at 20:59



















  • if i may clarify, for the chown command i looked up the syntax is username:username however i used username.username . do both these variants have the same meaning for command?

    – arayan
    Jan 16 at 20:56











  • serverfault.com/questions/194295/… - dot is basically the old, depreceated syntax. I will update my answer :)

    – vidarlo
    Jan 16 at 20:59

















if i may clarify, for the chown command i looked up the syntax is username:username however i used username.username . do both these variants have the same meaning for command?

– arayan
Jan 16 at 20:56





if i may clarify, for the chown command i looked up the syntax is username:username however i used username.username . do both these variants have the same meaning for command?

– arayan
Jan 16 at 20:56













serverfault.com/questions/194295/… - dot is basically the old, depreceated syntax. I will update my answer :)

– vidarlo
Jan 16 at 20:59





serverfault.com/questions/194295/… - dot is basically the old, depreceated syntax. I will update my answer :)

– vidarlo
Jan 16 at 20:59


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109693%2fnewly-purchased-and-formatted-ext4-seagate-external-hard-drive-5tb-cannot-stor%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?