?

Log in

No account? Create an account
Man, there is nothing cooler than this: fdisk /dev/hdc pvcreate… - CERisE's Testing for L

> Recent Entries
> Archive
> Friends
> Profile

April 12th, 2006


Previous Entry Share Next Entry
12:41 pm
Man, there is nothing cooler than this:

fdisk /dev/hdc
pvcreate /dev/hdc1
vgextend mediavol /dev/hdc1
vgdisplay
lvextend -l +59618 /dev/mediavol/media
xfs_growfs /mnt/store

The downtime was just long enough to put the drive in. +250G to argus 8)

(9 comments | Leave a comment)

Comments:


[User Picture]
From:knight3d
Date:April 12th, 2006 08:43 pm (UTC)
(Link)
oh man... RAID... :D

I need a few hotswap bays to really make that happy...

Remind me, are you using hardware or software raid?

(also, replace hdc with sdc and it IS cooler! sata is so rad! and I'm pretty sure it's hotswappable.)
[User Picture]
From:testing4l
Date:April 12th, 2006 08:52 pm (UTC)
(Link)
In this case, it's not actually RAID, it's LVM. That's all software, of course. I'm not using striping for performance reasons.

On b, I use both RAID and LVM. In that case, the RAID is hardware using a Mylex DAC960.

PATA can be hot swappable as well, but it's not a big deal. Did I mention that I put the drive in a few nights ago and ran those commands from ~50 miles away?
[User Picture]
From:knight3d
Date:April 13th, 2006 05:11 am (UTC)
(Link)
mm
striping would be detrimental to the overall performance? howzat?

i really need to look in to LVM. looks interesting.
[User Picture]
From:testing4l
Date:April 14th, 2006 12:07 am (UTC)
(Link)
striping on top of a RAID would just be silly, really.

I haven't confirmed this, but I've heard people complain that the striping is slow on LVM.

It's really easy to look into -- just grab the HOWTO from tldp.org. It's pretty well written. All you really need to understand is the relationship between volume groups, logical volumes, and physical volumes. Once you grok that, you can just use their cookbook portion.
[User Picture]
From:knight3d
Date:April 14th, 2006 03:31 am (UTC)
(Link)
*squee*

I need more hard drives now :D
[User Picture]
From:tehschkott
Date:April 13th, 2006 04:59 am (UTC)
(Link)
man I need to do that.
[User Picture]
From:testing4l
Date:April 14th, 2006 12:08 am (UTC)
(Link)
You do. You giant multicolored facial hair sissy!
[User Picture]
From:tehschkott
Date:April 14th, 2006 03:13 am (UTC)
(Link)
thats Mr Multicolored Facial Hair Sissy to you...
[User Picture]
From:tehschkott
Date:November 19th, 2006 09:42 am (UTC)
(Link)
lex shares # df -h
Filesystem ------- Size -- Used -- Avail -- Use% -- Mounted on
/dev/sda3 -------- 9.2G -- 477M -- 8.3G -- 6% -- /
/dev/sda1 -------- 111M -- 14M -- 91M -- 13% -- /boot
/dev/mapper/system1-system1 -- 3.7T --- 887G --- 2.8T --- 24% --- /srv
lex shares #

This is mounting a total of 7 remote drives using AOE - thanks again for the point-out on this one.

> Go to Top
LiveJournal.com