[brlug-general] Best way to use hdb1?
Dustin Puryear
dustin at puryear-it.com
Mon Mar 26 15:14:33 CST 2007
Nope, you are correct. So you know that LVM is going to let you do
whatever you want. :)
Maybe there was an odd coincidence in my email. Is the disk bigger
than 100GB? I had assumed so. I picked 100GB randomly just so you had
something to play with. The LV could be 10GB or 500GB.
---
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, 4:03:01 PM, you wrote:
> Well... I thought I did. Volumes instead of partitions, right? Easy
> resizing, organize into groups, span physical disks... Am I way off?
> On 3/26/07, Dustin Puryear <dustin at puryear-it.com> wrote:
> 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
>>
> _______________________________________________
> General mailing list
> General at brlug.net
> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>
>
More information about the General
mailing list