From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,26ffa4e9efd9f546 X-Google-Attributes: gidfee84,public From: Bob Harris Subject: Re: Can't add volume to advfs domain Date: 1999/12/16 Message-ID: <161219990930101870%harris@zk3.dec.com>#1/1 X-Deja-AN: 561762554 Content-Transfer-Encoding: 8bit References: To: dunnett@mala.bc.ca (Malcolm Dunnett) Posted-And-Mailed: yes Content-Type: text/plain; charset=ISO-8859-1 Organization: Digital Equipment Corporation, Palo Alto, CA, USA Mime-Version: 1.0 User-Agent: YA-NewsWatcher/4.2.4 Newsgroups: comp.unix.osf.osf1 [[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article , Malcolm Dunnett wrote: > I have a system running Digital Unix 4.0D > > On that system I have an ADVFs domain ( called system ) currently >consisting of a single 9GB disk ( /dev/rz6c ). The volume is about >99% full. Yesterday I tried to add a partition of another disk >(/dev/rz1g) into this domain using: > > addvol /dev/rz1g system > > and I got the error: > >addvol: error = E_TOO_MANY_VIRTUAL_DISKS (-1145) >addvol: Can't add volume '/dev/rz1g' to domain 'system' > > The man page advfs_err(4) says this means this domain already has >the maximum number of disks allowed for a domain. What is stopping >this domain from having more than one disk? > > note: contrary to its name, the "system" volume doesn't have the >/ or /usr partitions, it only contains user files. It is my guess that somehow this domain got created with the mkfdmn -r option. The -r options is for creating the root filesystem which is not allowed to have more than one volume because it is difficult to find all the volumes for root if the /etc/fdmns directory is not on the disk that is specified with the boot command :-) Anyway, like I said, I suspect that this is the problem. If it is, then the only thing you can do is to create a new domain (without -r) and vdump/vrestore your data to the newly created domain. You can check to see if the disk was created with mkfdmn -r with the following command: /sbin/advfs/vbmtpg /dev/rz6c | grep maxVds If the value says maxVds 1 then the domain must have been created using mkfdmn -r. Otherwise the value should say maxVds 256 If it says 256, then there is someother problem. In either event, you still may need to create a new domain and vdump/vrestore your data on to the new domain.