niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Tru64
Mounting problems, tru64 neophyte
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Krzysiek
*nix forums beginner


Joined: 26 Jun 2005
Posts: 12

PostPosted: Fri Dec 23, 2005 7:12 am    Post subject: Re: Mounting problems, tru64 neophyte Reply with quote

Bob Harris napisał(a):
Quote:
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
Back to top
Bob Harris
*nix forums beginner


Joined: 23 Mar 2005
Posts: 39

PostPosted: Fri Dec 23, 2005 12:47 am    Post subject: Re: Mounting problems, tru64 neophyte Reply with quote

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

Quote:
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
Back to top
informatio@gmail.com
*nix forums beginner


Joined: 22 Dec 2005
Posts: 1

PostPosted: Thu Dec 22, 2005 8:24 pm    Post subject: Mounting problems, tru64 neophyte Reply with quote

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.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Tue Jan 06, 2009 1:33 pm | All times are GMT
navigation Forum index » *nix » Tru64
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts AlphaServer/Tru64 reliability daveGPearson Tru64 0 Fri Mar 28, 2008 10:00 am
No new posts AlphaServer/Tru64 reliability daveGPearson Tru64 0 Fri Mar 28, 2008 9:59 am
No new posts Winbind problems for ADS authentication nlinley networking 1 Tue Sep 19, 2006 9:22 am
No new posts problems using oddmuse with mod_perl2 inside apache2.2 pe... Fergus McMenemie Perl 0 Fri Jul 21, 2006 9:48 am
No new posts Problems with make-kpkg and skas patch Todd A. Jacobs Debian 0 Fri Jul 21, 2006 12:30 am

Industrial Directory | Debt Consolidation | Credit Counseling | Bankruptcy | Bad Credit Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2938s ][ Queries: 20 (0.2046s) ][ GZIP on - Debug on ]