vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| amit kaushal <amitka@gmail.com> 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 |
| |||
| quoting Daniel Rock (Mon, 17 Mar 2008 17:40:22 +0000 (UTC)): > 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 A lofs mounted directory doesn't seem the right choice for a backup directory. Probably written a lot to.. Your first advice seems OK. Unmount it in global and mount in in vfstab in the zone. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ | SunOS 10u4 08/07 ++ |
| |||
| Dick Hoogendijk <dick@nagual.nl> wrote: > A lofs mounted directory doesn't seem the right choice for a backup > directory. Probably written a lot to.. Why would that be a concern? It's all the same OS.... -- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > |
| ||||
| Darren Dunham <ddunham@taos.com> wrote: > Dick Hoogendijk <dick@nagual.nl> wrote: >> A lofs mounted directory doesn't seem the right choice for a backup >> directory. Probably written a lot to.. > > Why would that be a concern? > > It's all the same OS.... In theory it would result in a performance penalty since it introduces an additional layer. In practise this penalty should be minimal - likely even below noise level if you try to measure it. -- Daniel |
| Thread Tools | |
| Display Modes | |
| |