Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Can it be this easy with AdvFS ?
@ 2002-05-20 12:36 Jack Patteeuw
  2002-05-20 16:04 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jack Patteeuw @ 2002-05-20 12:36 UTC (permalink / raw)


We are about to create a 176 GB RAID set (6 x 36 GB) on our ESA12000 and migrate
the files from a 88 GB RAID set (6 x 18 GB).

We are using AdvFS and have AdvFS Utilities.  Can it be so simple that all we have
to do is add the new domain#fileset with addvol and then remove the old
domain#fileset with rmvol ?

I expect the second command might take a few (many) hours.  Will this prevent
reads and/or writes to the volume while files are moved ?


-- 

Jack Patteeuw


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can it be this easy with AdvFS ?
  2002-05-20 12:36 Can it be this easy with AdvFS ? Jack Patteeuw
@ 2002-05-20 16:04 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2002-05-20 19:19 ` DiskDur
  2002-05-21  5:58 ` Nikola Milutinovic
  2 siblings, 0 replies; 9+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2002-05-20 16:04 UTC (permalink / raw)


In article <3CE8EDFB.72D0D43F@peoplepc.com>, Jack Patteeuw <jjpatteeuw@peoplepc.com> writes:

>We are about to create a 176 GB RAID set (6 x 36 GB) on our ESA12000 and migrate
>the files from a 88 GB RAID set (6 x 18 GB).
>
>We are using AdvFS and have AdvFS Utilities.  Can it be so simple that all we have
>to do is add the new domain#fileset with addvol and then remove the old
>domain#fileset with rmvol ?

It is just that easy.  On some older versions it may be wise to run
verify on the domain first to check that there aren't any consistency
problems.  I haven't heard of this being an issue for recent versions.

>
>I expect the second command might take a few (many) hours.  Will this prevent
>reads and/or writes to the volume while files are moved ?

No.  The storage will remain available while the old volume is being
removed.  The I/O load could be pretty heavy, which could affect
performance, but it will be available.

>
>
>-- 
>
>Jack Patteeuw
>
--
Alan Rollow		alan@nabeth.cxo.cpqcorp.net (previously .dec.com)



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can it be this easy with AdvFS ?
  2002-05-20 12:36 Can it be this easy with AdvFS ? Jack Patteeuw
  2002-05-20 16:04 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2002-05-20 19:19 ` DiskDur
  2002-05-21  5:58 ` Nikola Milutinovic
  2 siblings, 0 replies; 9+ messages in thread
From: DiskDur @ 2002-05-20 19:19 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

"Jack Patteeuw" <jjpatteeuw@peoplepc.com> a �crit dans le message de news:
3CE8EDFB.72D0D43F@peoplepc.com...
> We are about to create a 176 GB RAID set (6 x 36 GB) on our ESA12000 and
migrate
> the files from a 88 GB RAID set (6 x 18 GB).
>
> We are using AdvFS and have AdvFS Utilities.  Can it be so simple that all
we have
> to do is add the new domain#fileset with addvol and then remove the old
> domain#fileset with rmvol ?
>
> I expect the second command might take a few (many) hours.  Will this
prevent
> reads and/or writes to the volume while files are moved ?

Just make sure that you have installed the latest patch kit from Compaq.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can it be this easy with AdvFS ?
  2002-05-20 12:36 Can it be this easy with AdvFS ? Jack Patteeuw
  2002-05-20 16:04 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2002-05-20 19:19 ` DiskDur
@ 2002-05-21  5:58 ` Nikola Milutinovic
  2002-05-22  0:27   ` Jack Patteeuw
  2 siblings, 1 reply; 9+ messages in thread
From: Nikola Milutinovic @ 2002-05-21  5:58 UTC (permalink / raw)


"Jack Patteeuw" <jjpatteeuw@peoplepc.com> wrote in message
news:3CE8EDFB.72D0D43F@peoplepc.com...
> We are about to create a 176 GB RAID set (6 x 36 GB) on our ESA12000 and
migrate
> the files from a 88 GB RAID set (6 x 18 GB).
>
> We are using AdvFS and have AdvFS Utilities.  Can it be so simple that all
we have
> to do is add the new domain#fileset with addvol and then remove the old
> domain#fileset with rmvol ?
>
> I expect the second command might take a few (many) hours.  Will this
prevent
> reads and/or writes to the volume while files are moved ?

If you can have both disk sets present at once, why bother with that? Just
create a new domain on the new set and do a backup/restore. That way you can
star fresh a the new disk and set parameters (if any). On Digital UNIX 4.0D
I would do:

Server:/# mkfdmn -p 7200 -x 512 -l 1024 /dev/... new_domain
Server:/# mkfset new_domain new
Server:/# mount -t advfs new_domain#new /mnt
Server:/# vdump -0 -f - /oracle7 | (cd /mnt ; vrestore -x -f -)

Nix.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can it be this easy with AdvFS ?
  2002-05-21  5:58 ` Nikola Milutinovic
@ 2002-05-22  0:27   ` Jack Patteeuw
  2002-05-22  5:24     ` Nikola Milutinovic
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Patteeuw @ 2002-05-22  0:27 UTC (permalink / raw)


Nikola Milutinovic wrote:
> Server:/# mkfdmn -p 7200 -x 512 -l 1024 /dev/... new_domain
> Server:/# mkfset new_domain new
> Server:/# mount -t advfs new_domain#new /mnt
> Server:/# vdump -0 -f - /oracle7 | (cd /mnt ; vrestore -x -f -)

I suspect that last command would take several hours to move over 60 GB of data,
all the while not available to the users.  The addvol and rmvol is Soooo elegant
and the data is online all the time !!

I sure hope the rumors of AdvFS moving to HP-UX are true !!


-- 

Jack Patteeuw


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can it be this easy with AdvFS ?
  2002-05-22  0:27   ` Jack Patteeuw
@ 2002-05-22  5:24     ` Nikola Milutinovic
  2002-05-23  0:49       ` Dan Riley
  0 siblings, 1 reply; 9+ messages in thread
From: Nikola Milutinovic @ 2002-05-22  5:24 UTC (permalink / raw)


"Jack Patteeuw" <jjpatteeuw@peoplepc.com> wrote in message
news:3CEAE615.2ACFF214@peoplepc.com...
> Nikola Milutinovic wrote:
> > Server:/# mkfdmn -p 7200 -x 512 -l 1024 /dev/... new_domain
> > Server:/# mkfset new_domain new
> > Server:/# mount -t advfs new_domain#new /mnt
> > Server:/# vdump -0 -f - /oracle7 | (cd /mnt ; vrestore -x -f -)
>
> I suspect that last command would take several hours to move over 60 GB of
data,
> all the while not available to the users.  The addvol and rmvol is Soooo
elegant
> and the data is online all the time !!

OK, here is a procedure that will let your users access the data. It
requires ADVFS-UTILITIES license, but so do "addvol" and "rmvol".

Server:/# mkfdmn -p 7200 -x 512 -l 1024 /dev/... new_domain
Server:/# mkfset new_domain new
Server:/# clonefset oracle_domain oracle ora_clone
Server:/# mount -t advfs -o ro oracle_domain#ora_clone /clones/oracle
Server:/# mount -t advfs new_domain#new /mnt
Server:/# vdump -0 -f - /clones/oracle | (cd /mnt ; vrestore -x -f -)
Server:/# umount /clones/oracle
Server:/# rmfset -f oracle_domain ora_clone

> I sure hope the rumors of AdvFS moving to HP-UX are true !!

Unfortunately, they are.

Nix.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can it be this easy with AdvFS ?
  2002-05-22  5:24     ` Nikola Milutinovic
@ 2002-05-23  0:49       ` Dan Riley
  2002-05-23  6:09         ` Nikola Milutinovic
  0 siblings, 1 reply; 9+ messages in thread
From: Dan Riley @ 2002-05-23  0:49 UTC (permalink / raw)


"Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu> writes:
> > I suspect that last command would take several hours to move over
> > 60 GB of data, all the while not available to the users.  The
> > addvol and rmvol is Soooo elegant and the data is online all the
> > time !!
> 
> OK, here is a procedure that will let your users access the data. It
> requires ADVFS-UTILITIES license, but so do "addvol" and "rmvol".
> 
> Server:/# mkfdmn -p 7200 -x 512 -l 1024 /dev/... new_domain
> Server:/# mkfset new_domain new
> Server:/# clonefset oracle_domain oracle ora_clone
> Server:/# mount -t advfs -o ro oracle_domain#ora_clone /clones/oracle
> Server:/# mount -t advfs new_domain#new /mnt
> Server:/# vdump -0 -f - /clones/oracle | (cd /mnt ; vrestore -x -f -)
> Server:/# umount /clones/oracle
> Server:/# rmfset -f oracle_domain ora_clone

Still inferior.  Any changes made to oracle after the clone is made
get lost, and the fs has to be taken offline to unmount it and mount
the new fs.  This would be a lot more convincing if you could offer
some motivation for avoiding addvol/rmvol, which so far appear to be
obviously superior to your alternatives.

-- 
"The mere tendency of speech to encourage unlawful acts is not a
sufficient reason for banning it. [...]  The right to think is the
beginning of freedom, and speech must be protected from the government
because speech is the beginning of thought."  --Anthony Kennedy


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can it be this easy with AdvFS ?
  2002-05-23  0:49       ` Dan Riley
@ 2002-05-23  6:09         ` Nikola Milutinovic
  2002-05-23 15:58           ` Chris Adams
  0 siblings, 1 reply; 9+ messages in thread
From: Nikola Milutinovic @ 2002-05-23  6:09 UTC (permalink / raw)


"Dan Riley" <dsr@mail.lns.cornell.edu> wrote in message
news:shg00j3czg.fsf@lnxcu9.lns.cornell.edu...

> Still inferior.  Any changes made to oracle after the clone is made
> get lost, and the fs has to be taken offline to unmount it and mount
> the new fs.  This would be a lot more convincing if you could offer
> some motivation for avoiding addvol/rmvol, which so far appear to be
> obviously superior to your alternatives.

You are correct. But expect a performance hit during the moving operation.

Nix.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can it be this easy with AdvFS ?
  2002-05-23  6:09         ` Nikola Milutinovic
@ 2002-05-23 15:58           ` Chris Adams
  0 siblings, 0 replies; 9+ messages in thread
From: Chris Adams @ 2002-05-23 15:58 UTC (permalink / raw)


Once upon a time, Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu> said:
>You are correct. But expect a performance hit during the moving operation.

You can't do a move without a performance hit.  However, all methods
except addvol/rmvol have a 100% performance hit (i.e. you can't do
anything during the move), while rmvol has a much lower performance hit
(we've move the OS and user data around this way on an active system and
not had a significant performance hit - definately much less impact than
defrag for example).
-- 
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-05-23 15:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-20 12:36 Can it be this easy with AdvFS ? Jack Patteeuw
2002-05-20 16:04 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2002-05-20 19:19 ` DiskDur
2002-05-21  5:58 ` Nikola Milutinovic
2002-05-22  0:27   ` Jack Patteeuw
2002-05-22  5:24     ` Nikola Milutinovic
2002-05-23  0:49       ` Dan Riley
2002-05-23  6:09         ` Nikola Milutinovic
2002-05-23 15:58           ` Chris Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox