[brlug-general] Best way to use hdb1?
Dustin Puryear
dustin at puryear-it.com
Mon Mar 26 12:58:30 CST 2007
If you don't know what to do with it, then def. use LVM. So, I'd do
this:
1. Insert drive
2. fdisk as LVM
3. pvcreate /dev/sdX
4. vgcreate VolGroupXX /dev/sdX
5. lvcreate -n MyVolXX VolGroupXX -L 100GB
6. mkfs.ext3 /dev/VolGroupXX/MyVolXX
7. mount /dev/VolGroupXX/MyVolXX /home/shared
---
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com
Author:
"Best Practices for Managing Linux and UNIX Servers"
"Spam Fighting and Email Security in the 21st Century"
Download your free copies:
http://www.puryear-it.com/publications.htm
Monday, March 26, 2007, 1:46:03 PM, you wrote:
> This is the first time I've ever dabbled with multiple drives in
> Linux, and I don't know what to do. Where should I mount it? If I
> mount it as a subdirectory of my home, then it's mine. What if
> someone else wants to use it? I thought about something like
> /var/storage, and I did that, but then I had permission problems
> (because root mounted it, so root owned it). If I tried to 777 it,
> it only went to 755. I couldn't chown or chgrp it either. I thought
> reformatting the drive as vfat might solve the permission issues, but it did not.
> sudo chown joe /var/storage
> operation not permitted.
> sudo chown joe ~/hdb1
> operation not permitted.
> So what do I do? What filesystem should I use?
> And yes, for future use, I'll throw an entry in fstab, I was just using mount for now.
More information about the General
mailing list