From: harris@zk3.dec.com (Bob Harris)
Subject: Re: Adjusting advfs extent is not easy by addvol
Date: 1997/03/06 [thread overview]
Message-ID: <harris-ya023680000603971330430001@usenet.pa.dec.com> (raw)
In-Reply-To: 331CEAED.519A@soback.kornet.nm.kr
In article <331CEAED.519A@soback.kornet.nm.kr>, Younghan Kim
<brbin03@soback.kornet.nm.kr> wrote:
> .. domain1
> # showfile -x M-6 .... Error messaged displayed
>
> showfile : lstat failed for file M-6 : No suc file or directory
>
>
>*** Questions
> 1. man page shows that we can adjust extents count by addvol command
> but after adjusting we met error described already.
> Why?
/domain_mount_point/.tags/M-6 is valid for Vol 1, If you did an rmvol for
vol 1, then it doesn't exist any longer, and you have some other volume
numbers assigned.
First you should look at the list of volumes and the vol # assigned before
you attempt to use the M-6 notation.
showfdmn domain
Id Date Created LogPgs Domain Name
305f197f.000730b1 Tue Sep 19 15:26:55 1995 512 advfs
Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 715600 203680 72% on 128 128 /dev/rz2d
3 1191936 337632 72% on 128 128 /dev/rz5d
4 715600 202912 72% on 128 128 /dev/rz2e
5 715600 200944 72% on 128 128 /dev/rz2f
6 715600 201312 72% on 128 128 /dev/rz2g
7 1191936 341072 71% on 128 128 /dev/rz5e
8 1194128 337152 72% on 128 128 /dev/rz5f
11 715600 199968 72% on 128 128 /dev/rz2h
---------- ---------- ------
7156000 2024672 72%
You will notice that for this domain, I have no vol 2, vol 9 or vol 10. So
if I wanted to look at the BMTs for these volumes I would use
cd /domain_mount_point/.tags
showfile -x M-6 # vol 1
showfile -x M-18 # vol 3
showfile -x M-24 # vol 4
showfile -x M-30 # vol 5
showfile -x M-36 # vol 6
showfile -x M-42 # vol 7
showfile -x M-48 # vol 8
showfile -x M-66 # vol 11
You talk the volume number and multiply by 6 to get the BMT file name for
each volume.
You got an error, so you must not have volume 1. Look at the showfdmn
output to see what volume numbers are currently being used.
And your volume numbers you have will depend on your usage of addvol and
rmvol over the life of the domain.
--
Bob Harris
"I don't get to tell me what to do, I only get to tell me how to do it."
Comments expressed here are my own and _NOT_ those of my employer.
prev parent reply other threads:[~1997-03-06 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-05 5:00 Adjusting advfs extent is not easy by addvol Younghan Kim
1997-03-06 5:00 ` Bob Harris [this message]
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