Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-19 Thread Mark Pace
Yes, I did both mkinitrd zipl neither of which helped. The dasd_config was the answer. On Mon, Mar 19, 2012 at 9:47 AM, Richard Troth wrote: > You probably need to re-stamp the initial RAM disk to know about the > new drive. Barring other requirements, that would be ... > >mkinitrd >

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-19 Thread Mark Post
>>> On 3/19/2012 at 12:06 PM, Mark Post wrote: > Which will probably fail, since you've already brought it online. (Which > makes me think a "write the udev rules anyway" switch would be a nice > enhancement request.) I have to take that back. The "already online" message is simply informativ

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-19 Thread Mark Post
>>> On 3/19/2012 at 09:36 AM, Mark Pace wrote: > I'm having problems with the new disk I just added to an LVM group. When I > reboot the system the new DASD is not online. So I have to do a chccwdev > -e 0.0.0207 How do I make it come online automatically when I boot? If you're talking about

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-19 Thread Foster, Ron
Did you do a mkinitrd before you rebooted. Sent from my iPhone On Mar 19, 2012, at 8:44 AM, "Mark Pace" wrote: > I'm having problems with the new disk I just added to an LVM group. > When I > reboot the system the new DASD is not online. So I have to do a > chccwdev > -e 0.0.0207 How do

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-19 Thread Mark Pace
Found it. Searched back through old posts and found the answer. On Mon, Mar 19, 2012 at 9:36 AM, Mark Pace wrote: > I'm having problems with the new disk I just added to an LVM group. When > I reboot the system the new DASD is not online. So I have to do a chccwdev > -e 0.0.0207 How do I ma

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-19 Thread Richard Troth
You probably need to re-stamp the initial RAM disk to know about the new drive. Barring other requirements, that would be ... mkinitrd zipl -- R; Rick Troth Velocity Software http://www.velocitysoftware.com/ On Mon, Mar 19, 2012 at 9:36 AM, Mark Pace wrote: > I'm having proble

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-19 Thread Mark Pace
I'm having problems with the new disk I just added to an LVM group. When I reboot the system the new DASD is not online. So I have to do a chccwdev -e 0.0.0207 How do I make it come online automatically when I boot? TIA! On Fri, Mar 16, 2012 at 2:24 PM, Mark Post wrote: > >>> On 3/15/2012 a

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-16 Thread Mark Post
>>> On 3/15/2012 at 07:16 PM, Theodore Rodriguez-Bell >>> wrote: > My esteemed colleague Marcy Cortes wrote: > > You shouldn't have to umount to resize. We increase all the time with both > 10 and 11. > > ...if you mounted the filesystem ext3! With the command line it's possible > to get th

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-15 Thread Theodore Rodriguez-Bell
My esteemed colleague Marcy Cortes wrote: > You shouldn't have to umount to resize. We increase all the time with both > 10 and 11. ...if you mounted the filesystem ext3! With the command line it's possible to get that wrong; that's one advantage to the GUI. > The command is different bet

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Richard Troth
Looks like Scott gave you the summary: format the disk (not needed for EDEV or SAN) and partition it (also not needed for EDEV or SAN) 'pvcreate' 'vgextend' 'lvextend' (which should be easy if LV is not striped) 'resize2fs' The last step can be done

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Rick Troth
On Wed, Mar 14, 2012 at 6:43 PM, Shane G wrote: ... > An lv is not a volume, it's really a "partition" - no, wait, that's what a pv > is ... > Unless, of course, a pv is a full volume, and not a partition at all. > And a vg is a group of volumes except when a pv is not a partition, but a > volume

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Scott Rohling
Time to put the pipe down, brother :) Scott Rohling On Wed, Mar 14, 2012 at 3:43 PM, Shane G wrote: > This is just your friendly vendor messing with you. > Not to mention LVM itself. > > An lv is not a volume, it's really a "partition" - no, wait, that's what a > pv > is ... > Unless, of course

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Shane G
This is just your friendly vendor messing with you. Not to mention LVM itself. An lv is not a volume, it's really a "partition" - no, wait, that's what a pv is ... Unless, of course, a pv is a full volume, and not a partition at all. And a vg is a group of volumes except when a pv is not a partiti

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Tom Duerbusch
y. - Original Message - From: Scott Rohling [mailto:scott.rohl...@gmail.com] Sent: Wednesday, March 14, 2012 03:43 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Cannot add drive to existing LVM SLES 11 SP 1 just realized that the lvextend command I showed should be: lvextend -L

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Marcy Cortes
PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Cannot add drive to existing LVM SLES 11 SP 1 just realized that the lvextend command I showed should be: lvextend -L +2G /dev/testvg/testlv And - if the error is about resize - then it's likely because the filesystem is mounted and you

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Scott Rohling
just realized that the lvextend command I showed should be: lvextend -L +2G /dev/testvg/testlv And - if the error is about resize - then it's likely because the filesystem is mounted and you will need to unmount it. If yast got that far, I'm not sure what the state of your volume group is - so

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Tom Duerbusch
, March 14, 2012 2:42 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Cannot add drive to existing LVM SLES 11 SP 1 It's not too difficult to do this on the command line: lsdasd and figure out what the /dev/dasd device is - let's say it's dasdx format it: dasdfmt -b 4096 /dev/dasdx p

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Frederick, Michael
Information Builders Main: 917-339-5238 michael_freder...@ibi.com -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Tom Duerbusch Sent: Wednesday, March 14, 2012 3:56 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Cannot add drive to existing LVM SLES 11 S

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Tom Duerbusch
;Overview' tab select 'Resize' then select the disk you want add to the group. Mark Workman Shelter Insurance Companies 573.214.4672 mwork...@shelterinsurance.com From: Tom Duerbusch To: LINUX-390@VM.MARIST.EDU Date: 03/14/2012 01:34 PM Subject:Cannot add drive t

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Ayer, Paul W
immediately and destroy this message. Data Classification: Limited Access -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Scott Rohling Sent: Wednesday, March 14, 2012 2:42 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Cannot add drive to existing LV

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Mark Workman
rinsurance.com From: Tom Duerbusch To: LINUX-390@VM.MARIST.EDU Date: 03/14/2012 01:34 PM Subject: Cannot add drive to existing LVM SLES 11 SP 1 Sent by:Linux on 390 Port I have an existing LVM that is near out of space. I created it with the defaults that came with SLES

Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Scott Rohling
It's not too difficult to do this on the command line: lsdasd and figure out what the /dev/dasd device is - let's say it's dasdx format it: dasdfmt -b 4096 /dev/dasdx partition it: fdasd -a /dev/dasdx (make one partition using whole deice) lvm format: pvcreate /dev/dasdx1 add to volume

Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Tom Duerbusch
I have an existing LVM that is near out of space. I created it with the defaults that came with SLES 11 SP 1. Now I need to add a drive to the LVM pool. But there doesn't seem to be an option to add a volume to the pool. I have done the same thing with SLES 8, 9 and 10, so it is not like I don'