Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* advfs volume reduce and partition
@ 2005-09-21 19:34 camelma
  2005-09-21 20:13 ` camelma
  2005-09-22  1:26 ` Bob Harris
  0 siblings, 2 replies; 6+ messages in thread
From: camelma @ 2005-09-21 19:34 UTC (permalink / raw)


hi,

I have a single-volume domain 18G. I want to shrink it to create a new
raw partition(not to join any domain). how do i do that ?
I am preparing a OS upgrade, the purpose of my request is to backup
existing data to the spare partition and restore if the upgrade fail.

v5.1 using AdvFS.

thanks,

James.Q.L



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

* Re: advfs volume reduce and partition
  2005-09-21 19:34 advfs volume reduce and partition camelma
@ 2005-09-21 20:13 ` camelma
  2005-09-22  1:26 ` Bob Harris
  1 sibling, 0 replies; 6+ messages in thread
From: camelma @ 2005-09-21 20:13 UTC (permalink / raw)


looks like what i want can't be done. I will take the same approach as
the one mentioned below.

http://unix.derkeiler.com/Mailing-Lists/Tru64-UNIX-Managers/2005-01/0040.html

thanks,

James.Q.L



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

* Re: advfs volume reduce and partition
  2005-09-21 19:34 advfs volume reduce and partition camelma
  2005-09-21 20:13 ` camelma
@ 2005-09-22  1:26 ` Bob Harris
  2005-09-23 13:18   ` camelma
  1 sibling, 1 reply; 6+ messages in thread
From: Bob Harris @ 2005-09-22  1:26 UTC (permalink / raw)


In article 
<1127331283.083631.311200@o13g2000cwo.googlegroups.com>,
 camelma@gmail.com wrote:

> hi,
> 
> I have a single-volume domain 18G. I want to shrink it to create a new
> raw partition(not to join any domain). how do i do that ?
> I am preparing a OS upgrade, the purpose of my request is to backup
> existing data to the spare partition and restore if the upgrade fail.
> 
> v5.1 using AdvFS.
> 
> thanks,
> 
> James.Q.L

If you have another disk or partition (and AdvFS license for 
addvol/rmvol), then addvol of the new smaller partition (or 
several partitions to get enough space), then rmvol the 18GB disk.

AdvFS will on-line migrate all the data off of the 18GB disk and 
put it on the added volume(s).

Then reconfigure the 18GB disk and addvol in the new home, and 
rmvol the temporary volumes you no longer want to use.

If you do not have the space, then vdump/vrestore are the next 
best options.

                                        Bob Harris


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

* Re: advfs volume reduce and partition
  2005-09-22  1:26 ` Bob Harris
@ 2005-09-23 13:18   ` camelma
  2005-09-24  2:12     ` Bob Harris
  0 siblings, 1 reply; 6+ messages in thread
From: camelma @ 2005-09-23 13:18 UTC (permalink / raw)


thanks for the reply. another question, how do i delete this
single-volume domain and create it as a raw partition so that i can
still see this partition if the system OS upgrade hosed?

from what i read in the doc, AdvFS can't be seen if the system is not
running.

thank you.

James.Q.L



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

* Re: advfs volume reduce and partition
  2005-09-23 13:18   ` camelma
@ 2005-09-24  2:12     ` Bob Harris
  2005-09-26 15:10       ` camelma
  0 siblings, 1 reply; 6+ messages in thread
From: Bob Harris @ 2005-09-24  2:12 UTC (permalink / raw)


In article 
<1127481517.769978.23970@g43g2000cwa.googlegroups.com>,
 camelma@gmail.com wrote:

> thanks for the reply. another question, how do i delete this
> single-volume domain and create it as a raw partition so that i can
> still see this partition if the system OS upgrade hosed?
> 
> from what i read in the doc, AdvFS can't be seen if the system is not
> running.
> 
> thank you.
> 
> James.Q.L

I do not understand your question.

The raw partitions are always available.  Assuming Tru64 5.*, then 
if this is a simple disk, then /dev/disk/dsk* for the block device 
and /dev/rdisk/dsk* for the raw partitions.  If this is a LSM 
volume then the are somewhere under /dev/...

The showfdmn command will tell you want partitions make up the 
domain.

If you wish to actually destroy the AdvFS file system, then you 
can rmfdmn.

If you have _NOT_ destroyed the AdvFS domain, but you are booting 
up a different OS, you can use advscan to import AdvFS volumes 
into Tru64 UNIX.

                                        Bob Harris


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

* Re: advfs volume reduce and partition
  2005-09-24  2:12     ` Bob Harris
@ 2005-09-26 15:10       ` camelma
  0 siblings, 0 replies; 6+ messages in thread
From: camelma @ 2005-09-26 15:10 UTC (permalink / raw)


sorry for the confusion.  new to this OS and still reading up the docs
:)

what i am trying to do is to backup the existing OS to one of the
partition. so that I could restore the system from the backup if
something go wrong like can't boot from the previous OS after the
upgrade (i think i would do the restore by booting from cd, making the
same partitions, then restoring from the backup )
all partitions are AdvFS and one of them is not being used. I am
thinking of backing up the entire system to that partition. do i need
to do anything ? 

thanks



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

end of thread, other threads:[~2005-09-26 15:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-21 19:34 advfs volume reduce and partition camelma
2005-09-21 20:13 ` camelma
2005-09-22  1:26 ` Bob Harris
2005-09-23 13:18   ` camelma
2005-09-24  2:12     ` Bob Harris
2005-09-26 15:10       ` camelma

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