vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am trying to do some maintenance on an old RS/6000 model 370. I enter 'getrootfs hdisk0' and it seems to mount but mentions that a bunch of stuff has been killed. I then get the prompt. I can cd to a directory but can not ls the directory, cat a file, or edit a file. What am I missing? |
| |||
| On Wed, 20 Apr 2005 07:36:15 GMT, "Michael W. Ryder" <_mwryder@worldnet.att.net> wrote: >I am trying to do some maintenance on an old RS/6000 model 370. I enter > 'getrootfs hdisk0' and it seems to mount but mentions that a bunch of >stuff has been killed. I then get the prompt. I can cd to a directory >but can not ls the directory, cat a file, or edit a file. What am I >missing? Very likely that you are booting media that is not the level as the machine. You really need to make sure it is the AIX level and often it needs to be the same ML. Darrell Frappier Detroit MI N3JWJ darrell at frappier dot us |
| |||
| Michael W. Ryder a écrit: > > I am trying to do some maintenance on an old RS/6000 model 370. I enter > 'getrootfs hdisk0' and it seems to mount but mentions that a bunch of > stuff has been killed. I then get the prompt. I can cd to a directory > but can not ls the directory, cat a file, or edit a file. What am I > missing? Are you sure that /usr is mounted ? If I remember well, you are pretty sure that / is mounted, but for the rest you need to be sure that the system is in a correct state. If it is not (mount will tell it to you), then call fsck on the improper fileystems. 2nd obs: check the PATH variable. The commands may be accessible through direct path. Yours, Stephane GASSIES |
| |||
| Darrell Frappier wrote: > On Wed, 20 Apr 2005 07:36:15 GMT, "Michael W. Ryder" > <_mwryder@worldnet.att.net> wrote: > > >>I am trying to do some maintenance on an old RS/6000 model 370. I enter >> 'getrootfs hdisk0' and it seems to mount but mentions that a bunch of >>stuff has been killed. I then get the prompt. I can cd to a directory >>but can not ls the directory, cat a file, or edit a file. What am I >>missing? > > > Very likely that you are booting media that is not the level as the > machine. You really need to make sure it is the AIX level and often > it needs to be the same ML. > In this case it was the tape and later the CD used to install the OS. > > Darrell Frappier Detroit MI N3JWJ darrell at frappier dot us |
| |||
| Stephane Gassies wrote: > Michael W. Ryder a écrit: > >>I am trying to do some maintenance on an old RS/6000 model 370. I enter >> 'getrootfs hdisk0' and it seems to mount but mentions that a bunch of >>stuff has been killed. I then get the prompt. I can cd to a directory >>but can not ls the directory, cat a file, or edit a file. What am I >>missing? > > > Are you sure that /usr is mounted ? If I remember well, you are > pretty sure that / is mounted, but for the rest you need to be sure > that the system is in a correct state. If it is not (mount will tell > it to you), then call fsck on the improper fileystems. > > 2nd obs: check the PATH variable. The commands may be accessible > through direct path. > For some reason using the limited shell makes everything unavailable even using the full path to the command. I finally found another shell that allowed me to do what I wanted. In the end that didn't work either so I completely reinstalled the OS, needed to be done anyway. > Yours, > Stephane GASSIES |
| ||||
| On Wed, 20 Apr 2005 19:36:19 -0500, Michael W. Ryder <_mwryder@worldnet.att.net> wrote: > Stephane Gassies wrote: >> Michael W. Ryder a écrit: >> >>> I am trying to do some maintenance on an old RS/6000 model 370. I >>> enter >>> 'getrootfs hdisk0' and it seems to mount but mentions that a bunch of >>> stuff has been killed. I then get the prompt. I can cd to a directory >>> but can not ls the directory, cat a file, or edit a file. What am I >>> missing? >> Are you sure that /usr is mounted ? If I remember well, you are >> pretty sure that / is mounted, but for the rest you need to be sure >> that the system is in a correct state. If it is not (mount will tell >> it to you), then call fsck on the improper fileystems. >> 2nd obs: check the PATH variable. The commands may be accessible >> through direct path. >> > > For some reason using the limited shell makes everything unavailable > even using the full path to the command. I finally found another shell > that allowed me to do what I wanted. In the end that didn't work either > so I completely reinstalled the OS, needed to be done anyway. > > > >> Yours, >> Stephane GASSIES IIRC, the limited shell shows / and /usr mounted but these are RAM fs's, not the ones on the disk, and are severely limited. Create mount points (/mnt1 /mnt2), mount /dev/hd4 and /dev/hd2 on them, add to $PATH and you should be good to go. -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ |