[brlug-general] Best way to use hdb1?
Dustin Puryear
dustin at puryear-it.com
Mon Mar 26 14:46:46 CST 2007
You must not understand LVM. :)
There are some good resources about LVM on the web I think. You can
read docs on any implementation, ranging from the one on AIX to Linux.
The concept is the same everywhere.
---
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, 2:06:04 PM, you wrote:
> You're saying to make one volume that takes up the whole disk? Then why bother with LVM?
> On 3/26/07, Dustin Puryear < dustin at puryear-it.com> wrote:
> 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.
> _______________________________________________
> General mailing list
> General at brlug.net
> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>
More information about the General
mailing list