Hi everyone
         I did a total mess of my HP workstation running on UX operating
system. Iam not sure if this is a appropriate forum to ask this question
because it is UX related but I think there is LVM in linux also. If anyone
has working experience in HP -UX system try to help me out. I had a small
capacity hard disk under one volume group. I got an another hard disk and
tried to extend the volume group to extend this hard disk also. I also
extended the logical volumes mounted on  /usr and /home directory to span
the new hard disk. Then I was asked to revert these changes.
           What  I did may not be the effficient way of doing things but
still I went abt doing it. I tried to make backup of /home and /usr under
different directory. Then I did the foll steps :
In single user mode
i) unmounted the /usr
ii) removed the logical volume mounted on /usr (lvremove )
iii) created a new logical volume of zero length (lvcreate)
iv) Extended the logical volume to the required reduced size (lvextend)
v) created the file system for the new logical volume (newfs)
vi) Tried moving the files from the backup back to the user
  (using mv command , as cp command does not work becos I had a empty /usr
directory before moving)
         When I moved the files it did not move all the files. It gave the
message "file system is full". I cannot possibly understand how the logical
volume of the specified size which previously held the /usr directory cannot
hold it now.Initially when I was increased the logical volume(lvextend)
mounted on /usr to span the new hard disk I did not extend the file system
to extend the new hard disk. Could this be a possible problem (my wild
guess)
    Then my problems compounded like anything. When I reset the system Iam
unable to go into single user mode. It gives me the message
"INIT:single user mode
crto error: couldnot load /usr/lib/ddl.sl"  (I suppose due to impartial /usr
directory)
  When I tried booting in maintenance mode it gives me the same error
message as in single user mode. I wonder how come I get the same error
message when the logical volume in /usr directory is not mounted at all in
maintenance mode. Normal boot up seems impossible giving error message "INIT
:respawning......."
      I know that I did not do any good to the system. But is there a way I
can recover back becos I cannot afford reinstalling HP-UX as we do not have
the software support. The system does not have a floppy drive also///. Could
someone help me out
regards
chandrasekar



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to