From: Bob Harris <harris@zk3.dec.com>
To: dunnett@mala.bc.ca (Malcolm Dunnett)
Subject: Re: Can't add volume to advfs domain
Date: 1999/12/16 [thread overview]
Message-ID: <161219990930101870%harris@zk3.dec.com> (raw)
In-Reply-To: ldzrAZ3BmPXf@malvm2.mala.bc.ca
[[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]
In article <ldzrAZ3BmPXf@malvm2.mala.bc.ca>, Malcolm Dunnett
<dunnett@mala.bc.ca> 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.
next prev parent reply other threads:[~1999-12-16 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-14 5:00 Can't add volume to advfs domain Malcolm Dunnett
1999-12-14 5:00 ` Ed Wensell III
1999-12-16 5:00 ` Bob Harris [this message]
1999-12-29 5:00 ` Joseph Beech III
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox