SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-20-2008, 12:40 PM
Daniel Rock
 
Posts: n/a
Default Re: zones adding HDD

amit kaushal <[email protected]> wrote:
> hi,
>
>
> i am having solaris 10 on T2000. i have created a zone db and it is
> working perfectly fine.
>
> Now i want to add a hdd to the zone db.
>
> I did the following:
>
> zonecfg -z db
> zonecfg:db> add fs
> zonecfg:db:fs> set dir=/bkup2
> zonecfg:db:fs> set special=/dev/dsk/c2t1d0s0
> zonecfg:db:fs> set raw=/dev/rdsk/c2t1d0s0
> zonecfg:db:fs> set type=ufs
> zonecfg:db:fs> end
> zonecfg:db> verify
> zonecfg:db> commit
> zonecfg:db> exit
>
> the dir /bkup2 is created in the global zone. When i do a
> df -h in db zone i don't see /bkup2


You are trying to mount /dev/dsk/c2t1d0s0 in the db zone, which is already
mounted in the global zone.

> can anyone tell me where i am going wrong ? and also how to get /bkup2
> in the zone db


Either dismount/remove /bkup2 from the global zone (don't forget to also
delete the right line from /etc/vfstab).

Or lofs /bkup2 from the global zone:
add fs
set dir=/bkup2
set special=/bkup2
set type=lofs
end


--
Daniel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
<table class="tborder" id="