Cynthia,
If your output is directly copied from the system, I see a typo...
vpt# cd /adminpool
vpt# ls
lexadmin2_20g.img lexadmin_20gb.img
Your file is named lexadmin2_20g.img in /adminpool, but...
^^^^^
it is configured as:
# ldm list-constraints primary
primary-vds2 vdisk1 /adminpool/lexadmin_20gb.img
vdisk2 /adminpool/lexadmin2_20gb.img
^^^^^
2_20g.img vs. 2_20gb.img
see?
HTH,
Craig
Cynthia Christensen wrote:
> I am trying to add vdisk2 to lexadmin LDom.
>
>>From primary:
> vpt# cd /adminpool
> vpt# ls
> lexadmin2_20g.img lexadmin_20gb.img
>
>
> ldm list-constraints primary
> primary-vds2 vdisk1
> /adminpool/lexadmin_20gb.img
> vdisk2
> /adminpool/lexadmin2_20gb.img
>
>
> ldm list-constraints lexadmin
> DISK
> NAME VOLUME TOUT
> vdisk1 vdi...@primary-vds2
> vdisk2 vdi...@primary-vds2
>
>>From Ldom lexadmin:
>
> lexadmin# pwd
> /dev/rdsk
>
> lexadmin# ls
> c0d0s0 c0d0s1 c0d0s2 c0d0s3 c0d0s4 c0d0s5 c0d0s6 c0d0s7
>
> lexadmin# devfsadm
>
> lexadmin# ls
> c0d0s0 c0d0s1 c0d0s2 c0d0s3 c0d0s4 c0d0s5 c0d0s6 c0d0s7
>
> lexadmin# df -h
> Filesystem size used avail capacity Mounted on
> /dev/dsk/c0d0s0 18G 13G 5.0G 72% /
> /devices 0K 0K 0K 0% /devices
> ctfs 0K 0K 0K 0% /system/contract
> proc 0K 0K 0K 0% /proc
> mnttab 0K 0K 0K 0% /etc/mnttab
> swap 4.7G 1.5M 4.7G 1% /etc/svc/volatile
> objfs 0K 0K 0K 0% /system/object
> sharefs 0K 0K 0K 0% /etc/dfs/sharetab
> /platform/SUNW,T5240/lib/libc_psr/libc_psr_hwcap2.so.1
> 18G 13G 5.0G 72%
> /platform/sun4v/lib/libc_psr.so.1
> /platform/SUNW,T5240/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
> 18G 13G 5.0G 72%
> /platform/sun4v/lib/sparcv9/libc_psr.so.1
> fd 0K 0K 0K 0% /dev/fd
> swap 4.7G 40K 4.7G 1% /tmp
> swap 4.7G 40K 4.7G 1% /var/run
>
> Am I missing something?
>
> Thanks,
> Cynthia
>
>
> -----Original Message-----
> From: Andrew Williamson - Fujitsu [mailto:[email protected]]
> Sent: Wednesday, November 03, 2010 10:18 AM
> To: Cynthia Christensen
> Subject: RE: ldoms-discuss Digest, Vol 40, Issue 2
>
> Prove you have connected the disk properly. Include all relevant information
> (ldm output) instead of just "it doesn't work".
>
> AW
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Cynthia
> Christensen
> Sent: 03 November 2010 12:15
> To: [email protected]
> Subject: Re: [ldoms-discuss] ldoms-discuss Digest, Vol 40, Issue 2
>
> The devfsadm does not work and I also tried reboot -- -r. I checked under
> /dev/rdsk and still only see the original vdisk.
>
>
>
> Thanks,
> Cynthia
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> [email protected]
> Sent: Wednesday, November 03, 2010 8:00 AM
> To: [email protected]
> Subject: ldoms-discuss Digest, Vol 40, Issue 2
>
> Send ldoms-discuss mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific than "Re:
> Contents of ldoms-discuss digest..."
>
>
> Today's Topics:
>
> 1. Adding second mkfile to existing LDom (Cynthia Christensen)
> 2. Re: Adding second mkfile to existing LDom (Octave Orgeron)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 2 Nov 2010 14:35:14 -0400
> From: Cynthia Christensen <[email protected]>
> To: "[email protected]" <[email protected]>
> Subject: [ldoms-discuss] Adding second mkfile to existing LDom
> Message-ID:
> <cb2498b745272442a3b7062af8c032b14f2ee...@pbceocmbxcls1.pbcgov.org>
> Content-Type: text/plain; charset="us-ascii"
>
> I have an existing LDom that is running out of disk space. The original LDom
> was created as a 20G mkfile. There is still room on the same disk so I
> created a 2nd 20G mkfile.
>
> I added it to the primary vds and added the vdisk to my LDom. Rebooted the
> LDom. When I go into the LDom I am still only seeing the original 20G. I ran
> format which also only sees the original 20G. How can I get the LDom to see
> all 40G?
>
> Thanks,
> Cynthia
>
> ________________________________
> Under Florida law, e-mail addresses are public records. If you do not want
> your e-mail address released in response to a public records request, do not
> send electronic mail to this entity. Instead, contact this office by phone or
> in writing.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://mail.opensolaris.org/pipermail/ldoms-discuss/attachments/20101102/40c234a6/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 2 Nov 2010 14:27:58 -0700 (PDT)
> From: Octave Orgeron <[email protected]>
> To: Cynthia Christensen <[email protected]>,
> "[email protected]" <[email protected]>
> Subject: Re: [ldoms-discuss] Adding second mkfile to existing LDom
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="us-ascii"
>
> Try running devfsadm.
>
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> Octave J. Orgeron
> Solaris Virtualization Architect and Consultant
> Web: http://unixconsole.blogspot.com
> E-Mail: [email protected]
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>
>
>
>
> ________________________________
> From: Cynthia Christensen <[email protected]>
> To: "[email protected]" <[email protected]>
> Sent: Tue, November 2, 2010 1:35:14 PM
> Subject: [ldoms-discuss] Adding second mkfile to existing LDom
>
>
> I have an existing LDom that is running out of disk space. The original LDom
> was created as a 20G mkfile. There is still room on the same disk so I
> created a 2nd 20G mkfile.
>
> I added it to the primary vds and added the vdisk to my LDom. Rebooted the
> LDom. When I go into the LDom I am still only seeing the original 20G. I ran
> format which also only sees the original 20G. How can I get the LDom to see
> all 40G?
>
> Thanks,
> Cynthia
> ________________________________
> Under Florida law, e-mail addresses are public records. If you do not want
> your e-mail address released in response to a public records request, do not
> send electronic mail to this entity. Instead, contact this office by phone
> or in writing.
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://mail.opensolaris.org/pipermail/ldoms-discuss/attachments/20101102/19a27b46/attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> ldoms-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
>
>
> End of ldoms-discuss Digest, Vol 40, Issue 2
> ********************************************
> _______________________________________________
> ldoms-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
>
> ______________________________________________
> This email has been scanned by Netintelligence
> http://www.netintelligence.com/email
>
>
> ______________________________________________
> This email has been scanned by Netintelligence
> http://www.netintelligence.com/email
>
> _______________________________________________
> ldoms-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
>
--
Craig Cory
Senior Instructor :: ExitCertified
: Sun Certified System Administrator
: Sun Certified Network Administrator
: Sun Certified Security Administrator
: Veritas Certified Instructor
8950 Cal Center Drive
Bldg 1, Suite 110
Sacramento, California 95826
[e] [email protected]
[p] 916.669.3970
[f] 916.669.3977
+-------------------------------------------------------------------------+
ExitCertified :: Excellence in IT Certified Education
Certified training with Oracle, Sun Microsystems, Apple, Symantec, IBM,
Red Hat, MySQL, Hitachi Storage, SpringSource and VMWare.
1.800.803.EXIT (3948) | www.ExitCertified.com
+-------------------------------------------------------------------------+
_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss