LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-24-2021, 06:32 PM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,040
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Question USB HDD - ext4 or ntfs?


I'll never use my usb hdd on anything but linux, so is there a benefit to reformat it to ext4 fs? Performance, reliability, security?
 
Old 06-24-2021, 08:05 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,314

Rep: Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172
All of the above - especially linux permissions.
These days, if you really need to move data back-and-forth, exfat is my preference with the in-kernel support. But not in your case.
 
Old 06-24-2021, 08:08 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,454

Rep: Reputation: 6215Reputation: 6215Reputation: 6215Reputation: 6215Reputation: 6215Reputation: 6215Reputation: 6215Reputation: 6215Reputation: 6215Reputation: 6215Reputation: 6215
Yes.

linux has very limited tools to repair a NTFS filesystem if it becomes damaged.
 
1 members found this post helpful.
Old 06-24-2021, 09:27 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,233

Rep: Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654
There are a number of file systems that could be selected also depending on your intended use.

In some very few instances the usb drive controller may not work well with some linux file systems.
 
Old 06-25-2021, 04:04 AM   #5
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,040

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Cheers folks, it's a 4TB Seagate One Touch portable HDD - should be okay with ext4 I think
 
Old 06-25-2021, 04:54 AM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,744

Rep: Reputation: Disabled
All my HDD / SSD / Pendrives / SDHC cards are formated with ext4 filesystems, why use a MS filesystem...
 
1 members found this post helpful.
Old 06-25-2021, 07:30 AM   #7
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,040

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Before I go ahead and change this drive to ext4, with gparted I have a question

Gparted shows an EFI 200mb partition, should I delete this or just leave it!

Also why doesn't df find it
Code:
jonke@charlie:~$ df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  5.9G     0  5.9G   0% /dev
tmpfs          tmpfs     1.2G  1.7M  1.2G   1% /run
/dev/sda5      ext4      228G   62G  155G  29% /
tmpfs          tmpfs     5.9G     0  5.9G   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     5.9G     0  5.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     5.9G  260K  5.9G   1% /tmp
/dev/sda1      vfat      511M  4.0K  511M   1% /boot/efi
tmpfs          tmpfs     1.2G   64K  1.2G   1% /run/user/1000
/dev/sdb5      ext4      1.8T  1.7T   55G  97% /media/jonke/6e725920-1c32-4931-bab9-fc8c12d01128
/dev/sdc2      fuseblk   3.7T   16G  3.7T   1% /media/jonke/One Touch
jonke@charlie:~$
Attached Thumbnails
Click image for larger version

Name:	USBHdd.png
Views:	9
Size:	135.0 KB
ID:	36680  
 
Old 06-25-2021, 07:40 AM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,334

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
Quote:
Also why doesn't df find it
It is not mounted. Mount it, and df should show it them.
 
Old 06-25-2021, 07:40 AM   #9
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,463

Rep: Reputation: 450Reputation: 450Reputation: 450Reputation: 450Reputation: 450
Some computers require this EFI partition to boot from the disk. So leave it if you intend to install some OS on it, otherwise you can just delete it.

And df doesn't show it because it's not mounted.
 
Old 06-25-2021, 10:09 AM   #10
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,040

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
camorri and Guttorm - thanks, but even if it's mounted sdc1 (it on the same usb hdd as sdc2, still doesn't show with a df command?
Attached Thumbnails
Click image for larger version

Name:	USBHdd1.png
Views:	13
Size:	101.6 KB
ID:	36681  
 
Old 06-25-2021, 10:39 AM   #11
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,334

Rep: Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922Reputation: 922
Did you restart gdisk? Is the partition formatted?

If its mounted, cd to the mount point, and look to see what is in the partition. It may not be formatted, and / or not have nay files in it.

efi partitions are for booting on a UEFI system. Do you have UFEI, or is an older system with BIOS? Don't confuse the to items, they are different. If you are not shure, post the make and model of the system and tell us if its a desktop or a laptop.

If you have no plans to boot from this drive, you can safely delete the partition. If you have a BIOS system, then it is usless unless you move the externel drove to a UEFI system and want to boot from the drive.

You can always create a new efi partition if that were the case.
 
1 members found this post helpful.
Old 06-25-2021, 03:22 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,233

Rep: Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654
I'd assume you may wish to use GPT.

Last edited by jefro; 06-25-2021 at 08:21 PM.
 
Old 06-25-2021, 06:14 PM   #13
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,040

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Quote:
Originally Posted by jefro View Post
I'd assume you may with to use GPT.
GPT? Do you mean Gparted
 
Old 06-25-2021, 08:20 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,233

Rep: Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654
https://www.howtogeek.com/193669/wha...oning-a-drive/

Last edited by jefro; 06-25-2021 at 08:21 PM.
 
1 members found this post helpful.
Old 06-27-2021, 04:22 AM   #15
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,040

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Thumbs up

Quote:
Originally Posted by jefro View Post
Cheers jefro, good article
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i want a new partition for external usb hdd, replace ntfs with ext4 with debian tools malt Linux - Newbie 2 10-23-2014 05:10 PM
modprobe: Module ext4 not found. no dependencies for kernel module 'ext4' found Aquarius_Girl Linux - Newbie 6 01-25-2012 06:07 AM
adding SATA ext3 HDD into new Suse11.4 box with ext4 system HDD Mail2me Linux - Hardware 4 10-26-2011 08:47 PM
NTFS now EXT4 ON WRONG HDD? HELP! linuxuser404 Linux - Newbie 6 08-17-2011 07:40 AM
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration