Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Mounting problems, tru64 neophyte
@ 2005-12-22 20:24 informatio
  2005-12-23  0:47 ` Bob Harris
  0 siblings, 1 reply; 3+ messages in thread
From: informatio @ 2005-12-22 20:24 UTC (permalink / raw)


We have an alpha server who's main disk had died.

We also have another alpha server which is a replica (down to the
software) so we decided to just to a dd on the major partitions from
the replica to a new disk and get the other dead alpha running.

So, I successfully dd'ed partitions a,c,g I believe (the ones that are
designated advfs).

Booting up the new disk, the kernel boots up and everything seems to
go swimmingly, until it tires to mount /var and /usr.

It cannot find the souce domains for those directories which is:
usr_domain#usr -> /usr
usr_domain#var -> /var

I tried doing a mkfdmn /dev/rdisk/dsk6g usr_domain#usr in another
tru64 machine, but it said that it couldn't proceed because
usr_domain#usr already exists in the current tru64 machine (which it
did).

My question is how do I get around this or how do I force the creation
of those label/domains so that the partitions can be mounted ?

Thank you ! Any help is really really helpful, I'm not sure what to do
and I need to get the disk up.



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

* Re: Mounting problems, tru64 neophyte
  2005-12-22 20:24 Mounting problems, tru64 neophyte informatio
@ 2005-12-23  0:47 ` Bob Harris
  2005-12-23  7:12   ` Krzysiek
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Harris @ 2005-12-23  0:47 UTC (permalink / raw)


In article 
<1135283043.669001.303740@z14g2000cwz.googlegroups.com>,
 informatio@gmail.com wrote:

> We have an alpha server who's main disk had died.
> 
> We also have another alpha server which is a replica (down to the
> software) so we decided to just to a dd on the major partitions from
> the replica to a new disk and get the other dead alpha running.
> 
> So, I successfully dd'ed partitions a,c,g I believe (the ones that are
> designated advfs).
> 
> Booting up the new disk, the kernel boots up and everything seems to
> go swimmingly, until it tires to mount /var and /usr.
> 
> It cannot find the souce domains for those directories which is:
> usr_domain#usr -> /usr
> usr_domain#var -> /var
> 
> I tried doing a mkfdmn /dev/rdisk/dsk6g usr_domain#usr in another
> tru64 machine, but it said that it couldn't proceed because
> usr_domain#usr already exists in the current tru64 machine (which it
> did).
> 
> My question is how do I get around this or how do I force the creation
> of those label/domains so that the partitions can be mounted ?
> 
> Thank you ! Any help is really really helpful, I'm not sure what to do
> and I need to get the disk up.

There are symlinks in /etc/fdmns/usr_domain/* which point to the 
disks associated with a domain.

Most likely when you inserted the new disks, they go new unique 
device names.

There is a utility in /sbin/advfs/advscan, which can rebuild your 
/etc/fdmns/* information.

Or you can just play with the /etc/fdmns/usr_domain/* symlinks 
yourself.  It is not rocket science, however, your mileage may 
vary, object are closer than they appear in the side view mirror, 
etc...

And if I were a disk device driver developer, instead of an 
laid-off AdvFS developer, I might have suggested a command that 
renames the devices to be what you want.  But I'm not so I only 
remember (just barely) the AdvFS commands :-)

                                    Bob Harris


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

* Re: Mounting problems, tru64 neophyte
  2005-12-23  0:47 ` Bob Harris
@ 2005-12-23  7:12   ` Krzysiek
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysiek @ 2005-12-23  7:12 UTC (permalink / raw)
  To: Bob Harris

Bob Harris napisaďż˝(a):
> In article 
> <1135283043.669001.303740@z14g2000cwz.googlegroups.com>,
>  informatio@gmail.com wrote:
> 
> 
>>We have an alpha server who's main disk had died.
>>
>>We also have another alpha server which is a replica (down to the
>>software) so we decided to just to a dd on the major partitions from
>>the replica to a new disk and get the other dead alpha running.
>>
>>So, I successfully dd'ed partitions a,c,g I believe (the ones that are
>>designated advfs).
>>
>>Booting up the new disk, the kernel boots up and everything seems to
>>go swimmingly, until it tires to mount /var and /usr.
>>
>>It cannot find the souce domains for those directories which is:
>>usr_domain#usr -> /usr
>>usr_domain#var -> /var
>>
>>I tried doing a mkfdmn /dev/rdisk/dsk6g usr_domain#usr in another
>>tru64 machine, but it said that it couldn't proceed because
>>usr_domain#usr already exists in the current tru64 machine (which it
>>did).
>>
>>My question is how do I get around this or how do I force the creation
>>of those label/domains so that the partitions can be mounted ?
>>
>>Thank you ! Any help is really really helpful, I'm not sure what to do
>>and I need to get the disk up.
> 
> 
> There are symlinks in /etc/fdmns/usr_domain/* which point to the 
> disks associated with a domain.
> 
> Most likely when you inserted the new disks, they go new unique 
> device names.
> 
> There is a utility in /sbin/advfs/advscan, which can rebuild your 
> /etc/fdmns/* information.
> 
> Or you can just play with the /etc/fdmns/usr_domain/* symlinks 
> yourself.  It is not rocket science, however, your mileage may 
> vary, object are closer than they appear in the side view mirror, 
> etc...
> 
> And if I were a disk device driver developer, instead of an 
> laid-off AdvFS developer, I might have suggested a command that 
> renames the devices to be what you want.  But I'm not so I only 
> remember (just barely) the AdvFS commands :-)
> 
>                                     Bob Harris
Better way is change new dskNUMBER to dksOLDNUMBER - link name

dsfmgr -e dskNEW (just inserted) dskOLD
dksOLD(this is located in /etc/fdmns/usr_domain)

before you must look which is the new
hwmgr -scan scsi
hwmgr -view dev
(last is the new one)

Gegards,
Chris


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

end of thread, other threads:[~2005-12-23  7:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-22 20:24 Mounting problems, tru64 neophyte informatio
2005-12-23  0:47 ` Bob Harris
2005-12-23  7:12   ` Krzysiek

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