greekislandlover
Posts: 16
Joined: Wed Apr 16, 2014 4:02 pm

File system for external hdd

Fri Apr 25, 2014 12:16 pm

I think I know the answer to this, but just want to run it by the people who know.

Just got a Pi and am playing around with what it can do. I'm thinking of formatting the SD card and starting again with a fresh install, and was wondering if changing the hdd to ext4 filesystem would be a good idea. Currently is vfat. I know I'll lose all data but there is nothing on the drive that isn't backed up elsewhere.

The issue I'm having is with some of my installations permissions are not always working, so I was thinking having it as a linux filesystem might help?

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: File system for external hdd

Fri Apr 25, 2014 12:24 pm

Are you sharing the external hard drive with a Windows or Mac PC??

Richard S.

greekislandlover
Posts: 16
Joined: Wed Apr 16, 2014 4:02 pm

Re: File system for external hdd

Fri Apr 25, 2014 12:44 pm

Yes. But I seem to remember that when I had a Ubuntu server it worked Ok talking to Windoze?

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: File system for external hdd

Fri Apr 25, 2014 12:51 pm

You could shrink you original partition then make an Ext4 partition after it to hold your '/root' partition if you like. That's what I did with the 1.5TB media storage HDD I have directly connected to the Pi at all times. It was originally formatted to NTFS and I wanted to keep it easily accessible over the network from (or if directly connected to) Windows devices connected to the same network, so it seemed the obvious thing to do.

Here's a simple PDF guide to how I achieved this using a Windows PC for the partition transfer...
https://dl.dropboxusercontent.com/u/431 ... %20HDD.pdf
Last edited by GTR2Fan on Fri Apr 25, 2014 12:51 pm, edited 1 time in total.
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

User avatar
RaTTuS
Posts: 10563
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: File system for external hdd

Fri Apr 25, 2014 12:51 pm

if you want to plug the external HD into a windows system then you will have problems with ext4 -
if you are always going have the HD plugged into the RPi and sharfe it via samba then formatting as ext4 is the way to go
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

greekislandlover
Posts: 16
Joined: Wed Apr 16, 2014 4:02 pm

Re: File system for external hdd

Fri Apr 25, 2014 1:24 pm

RaTTuS wrote:if you want to plug the external HD into a windows system then you will have problems with ext4 -
if you are always going have the HD plugged into the RPi and sharfe it via samba then formatting as ext4 is the way to go
That's what I should have specified. The HDD will be permanently connected to the Pi and some content shared to Windows via Samba. I'll go this route. Thanks :)

Return to “Beginners”