System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem of permission - TRU64

Eberno
Regular Advisor

Problem of permission - TRU64

My friends,

I boot my system TRU64 with single-user and I need to creat the /etc/fdmns.
When I make mkdir /etc/fdmns not permission
show me DISK Read-only.

Please Can Help -ne
10 REPLIES
Ann Majeske
Honored Contributor

Re: Problem of permission - TRU64

Try running bcheckrc first.


Eberno
Regular Advisor

Re: Problem of permission - TRU64

My frinnd,

I make this command bcheckrc, but need of the /etc/fdmns to mount the domains ( root_domain and urs_domain)

I try :
mkdir -p /etc/fdmns
mkdir: Cannot create fdmns
fdmns: Read-only filesystem.

I executed the follow command "lsmbstartup" and
need of the /etc/fdmns.

Vladimir Fabecic
Honored Contributor

Re: Problem of permission - TRU64

Not sure I got the point.
You boot to single user mode and want to create directory /etc/fdmns?
It should be allready there.
Maybe you want to create another directory in /etc/fdmns?
Can you post your OS version?
As Ann said, you can run bcheckrc first. That should mount all "mountable" file systems.
However, you can try
# mountroot (for V5.X)
or
# mount -u / (for V4.X)
to mount root file system read/write.
Are you using LSM?
In vino veritas, in VMS cluster
Eberno
Regular Advisor

Re: Problem of permission - TRU64

Version V4.0D.
Vladimir Fabecic
Honored Contributor

Re: Problem of permission - TRU64

OK, as I said, you can mount root r/w with:
# mount -u /
After that it will not be read-only any more.
Are you sure that you want to create /etc/fdmns and not for example /etc/fdmns/dom1_dmn?
By the way, did you read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
In vino veritas, in VMS cluster
Eberno
Regular Advisor

Re: Problem of permission - TRU64

My friend,

I did make the mount:

mount -u /
mount:error locking ´/etc/fdmns´[2] No such file or directory
Hein van den Heuvel
Honored Contributor

Re: Problem of permission - TRU64

Hmmm,

Sounds like you are in a catch-22 here.
You need /etc/fdmns in order to do the mount -u /
You need the mount -u / to create /etc/fdmns


What happened here?
How did the system get to this state?

Can you boot an other disk with (minimal, freshly installed) Tru64 and work with the target boot disks as a data disk?

fwiw,
Hein.


Vladimir Fabecic
Honored Contributor

Re: Problem of permission - TRU64

I see what is the point now.
In your case you must boot from installation CD.
Then mount your root partition somewhere (/mnt ot something).
Looks like your / is advfs. Do you know how to make links to advfs domains when booting from installation CD?
Did someone rename /etc/fdmns or what?
In vino veritas, in VMS cluster
Eberno
Regular Advisor

Re: Problem of permission - TRU64

My friends,

I did the boot with "boot -fl s",
But when want mount the FS, show me early error.

I rename the /etc/fdmns and did reboot.
Vladimir Fabecic
Honored Contributor

Re: Problem of permission - TRU64

That's it. You must not rename /etc/fdmns!!!
Now the only way to save system is to boot from CD, make link for advfs doamin of your root, mount it and rename former /etc/fdmns back to /etc/fdmns.
Or, like Hein said, boot from some other disk if you have it.
No other way.
In vino veritas, in VMS cluster