* Adjusting advfs extent is not easy by addvol
@ 1997-03-05 5:00 Younghan Kim
1997-03-06 5:00 ` Bob Harris
0 siblings, 1 reply; 2+ messages in thread
From: Younghan Kim @ 1997-03-05 5:00 UTC (permalink / raw)
We have alpha 2100-4/275 using Digital UNIX V3.2d-1.
File system is Advfs.
We adjusted Metadata file extents count because we found that advfs
reached the max extents count.
*** File domains before adjusting ***
file-domain extentcount special-device
----------- ----------- --------------
domain1 128 /dev/rza16c(raid 5)
domain2 128 /dev/rzb16c(raid 5)
*** Summary Procedures we did ***
# rmfdmn /dev/rzb16c domain2
# addvol -x 1024 /dev/rzb16c domain1
# rmvol /dev/rza16c domain1
# mkfdmn -x 1024 /dev/rza16c domain2
*** Problems we met
.. domain2
# showfile -x M-6 .... Extents count changed to 1024
.. 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?
2. Digital Equipment Korea(DEK) recommended that
first backup domain
second rmfdmn domain
third mkfdmn -x 1024 ...
last restore backup data
Let e know why and how to solve the problem
Thanks .
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adjusting advfs extent is not easy by addvol
1997-03-05 5:00 Adjusting advfs extent is not easy by addvol Younghan Kim
@ 1997-03-06 5:00 ` Bob Harris
0 siblings, 0 replies; 2+ messages in thread
From: Bob Harris @ 1997-03-06 5:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-03-06 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-05 5:00 Adjusting advfs extent is not easy by addvol Younghan Kim
1997-03-06 5:00 ` Bob Harris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox