[ubuntu-in] filesystem queries queries for external drive

Rohit V Bhute rvbhute at gmail.com
Sun Jan 18 06:42:10 GMT 2009


Following up on my earlier post,

> 1. I have prepared an external drive by putting a 500GB drive in a USB 
> enclosure. I plan to format it with JFS.

The drive will hold mostly media files and backups - the scenario is few 
but large files. I'm basing my selection on this - 
http://www.debian-administration.org/articles/388

I would have taken XFS, except XFS is unkind to power failures and 
hard-reboots. I wouldn't want to take a chance with my power supply 
going down or machine hard-restarting. JFS is the next best.

> I was testing with a flash drive. I formatted it with JFS and plugged it 
> in. It mounted correctly, but with root permissions ie. as a normal 
> user, I couldn't do anything useful. How can I make this behave like a 
> FAT32 formatted drive where a normal user can read write by default?

I did a 'sudo chown rohit:rohit -R rohit_sc' where rohit_sc was the 
mount point (in /media) and that did the trick - I could copy, delete, 
etc on the drive. Do I have to run this command every time I plug in the 
drive or can it be automated?

> 2. I also have a 100GB partition on the internal disk which I'm thinking 
> of converting to JFS.

Earlier, I mounted it to /data and created a folder 'rohit' inside /data 
and changed owner of 'rohit' to myself. Is it ok to change owner of 
/data itself to myself so I can read write directly inside /data? Is it 
recommended?

> Any suggestions from you all? Pros, cons, experiences?

Regards.
-- 
Rohit V. Bhute
http://rvbhute.org



More information about the ubuntu-in mailing list