I went through the yast panels and added the unit "113e"; created the volume
group usrdata; added the physical volume (/dev/dasdd1) to the volume group
usrdata; and added the logical volume /dev/usrdata/srv.

Output from "pvscan," "vgscan," and "lvscan" shows:

>       techlnux:~ # pvscan
>         PV /dev/dasdd1   VG usrdata   lvm2 [2.29 GB / 1.80 GB free]
>         PV /dev/dasdc1   VG system    lvm2 [2.29 GB / 0    free]
>         PV /dev/dasda1   VG system    lvm2 [2.29 GB / 68.00 MB free]
>         Total: 3 [6.87 GB] / in use: 3 [6.87 GB] / in no VG: 0 [0   ]
>       techlnux:~ # vgscan
>         Reading all physical volumes.  This may take a while...
>         Found volume group "usrdata" using metadata type lvm2
>         Found volume group "system" using metadata type lvm2
>       techlnux:~ # lvscan
>         ACTIVE            '/dev/usrdata/srv' [500.00 MB] next free
(default)
>         ACTIVE            '/dev/system/var' [3.30 GB] next free (default)
>         ACTIVE            '/dev/system/home' [512.00 MB] next free
(default)

Output from "vgdisplay" shows:

>       techlnux:~ # vgdisplay
>         --- Volume group ---
>         VG Name               usrdata
>         System ID
>         Format                lvm2
>         Metadata Areas        1
>         Metadata Sequence No  2
>         VG Access             read/write
>         VG Status             resizable
>         MAX LV                255
>         Cur LV                1
>         Open LV               1
>         Max PV                255
>         Cur PV                1
>         Act PV                1
>         VG Size               2.29 GB
>         PE Size               4.00 MB
>         Total PE              586
>         Alloc PE / Size       125 / 500.00 MB
>         Free  PE / Size       461 / 1.80 GB
>         VG UUID               F4TBxx-SrI3-70gb-RSaE-hWCX-MHHY-BUEHgP
>
>         --- Volume group ---
>         VG Name               system
>         System ID
>         Format                lvm2
>         Metadata Areas        2
>         Metadata Sequence No  10
>         VG Access             read/write
>         VG Status             resizable
>         MAX LV                255
>         Cur LV                3
>         Open LV               3
>         Max PV                255
>         Cur PV                2
>         Act PV                2
>         VG Size               4.58 GB
>         PE Size               4.00 MB
>         Total PE              1172
>         Alloc PE / Size       1155 / 4.51 GB
>         Free  PE / Size       17 / 68.00 MB
>         VG UUID               udixdw-j6fY-Sgqn-vo9w-VgL4-w6gq-Xy72m3

Output from "ls -l /dev/usrdata" shows:

>       techlnux:~ # ls -l /dev/usrdata
>       total 88
>       dr-x------   2 root root  4096 Dec  8 09:07 .
>       drwxr-xr-x  14 root root 81920 Dec  8 09:07 ..
>       lrwxrwxrwx   1 root root    23 Dec  8 09:07 srv ->
/dev/mapper/usrdata-srv

Output from "ls -l /dev/mapper" shows:

>       techlnux:~ # ls -l /dev/mapper
>       total 88
>       drwxr-xr-x   2 root root   4096 Dec  8 09:07 .
>       drwxr-xr-x  14 root root  81920 Dec  8 09:07 ..
>       lrwxrwxrwx   1 root root     16 Dec  7 16:56 control ->
../device-mapper
>       brw-------   1 root root 253, 2 Nov  4 13:03 system-home
>       brw-------   1 root root 253, 1 Nov  4 13:03 system-opt
>       brw-------   1 root root 253, 0 Nov  4 13:03 system-var
>       brw-------   1 root root 253, 3 Dec  8 09:07 usrdata-srv

Is there some magic now that I need to perform to make this permanent?  What
should be my next step?

-----Original Message-----
From: Mark Post [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 6:01 PM
To: [EMAIL PROTECTED]
Subject: Re: LVM question


Ok, this looks like a difference between LVM and the LVM2 that comes with
2.6.  I guess "vgdisplay" and "ls -l /dev/usrdata" might tell us something.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 8:06 PM
To: [EMAIL PROTECTED]
Subject: Re: LVM question


I crossed up too many systems trying to get this to work and I had to
restore from backups.

I then ran "pvscan" sans quotes

>       techlnux:/proc # pvscan
>         PV /dev/dasdc1   VG system   lvm2 [2.29 GB / 0    free]
>         PV /dev/dasda1   VG system   lvm2 [2.29 GB / 68.00 MB free]
>         Total: 2 [4.58 GB] / in use: 2 [4.58 GB] / in no VG: 0 [0   ]

When I ran "cat /proc/lvm/global" sans quotes I received:

No such file or directory

http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to