Operating System - HP-UX
1752397 Members
5870 Online
108788 Solutions
New Discussion

Re: Error in reading the directories after unmounting the external hardisk from server.

 
Raj301189
Occasional Visitor

Error in reading the directories after unmounting the external hardisk from server.

Recently i have inserted a External hard disk in the HPUX server

created a new volume group through sam, and created PV, LV and mounted a directory name as /backup through command

Everything mounted successfully, and copied the data from server to hard disk.

Then again removed the hard disk and after this mouted folder backup was showing...

Removed the Volume group from sam, which took long time..

But when i execute bdf command is not getting end fully, not able to delete the folder backup, not able to cd backup also...

Because of this am not able to winscp the server...error as reading remote directory..

4 REPLIES 4
Steven Schweda
Honored Contributor

Re: Error in reading the directories after unmounting the external hardisk from server.

> [...] mounted a directory name as /backup through command

   As usual, showing actual commands with their actual output can be
more helpful than vague descriptions or interpretations.

> Then again removed the hard disk

   I don't see a "umount" command in your description.  Why is that?

>  and after this mouted folder backup was showing...

   Again, actual commands with their actual output?

   What happens if you reconnect the disk?

Raj301189
Occasional Visitor

Re: Error in reading the directories after unmounting the external hardisk from server.

I removed it properly by SAM in OS level at Volume Group removal.

After removing also m able to see the /backup folder.

Now i just need to remove the /backup folder..

I removed the LV, PV by SAM in Os level.

But not able to remove the /backup folder and also not able to open it.

>umount /backup
umount: cannot unmount /dev/vdata/lv_back : Block device required
umount: return error 1.

Raj301189
Occasional Visitor

Re: Error in reading the directories after unmounting the external hardisk from server.

Now because of this m not able to open the server through Winscp

Problem in reading remote directory.

Error listing directory '/'.

And then when i execute the bdf command..

its not getting completing.

Steven Schweda
Honored Contributor

Re: Error in reading the directories after unmounting the external hardisk from server.

> I removed it properly by SAM in OS level at Volume Group removal.

   Did you umount the file system first?

> After removing also m able to see the /backup folder.

   Unmounting a file system does not remove the mount-point directory.

   As usual, showing actual commands with their actual output can be
more helpful than vague descriptions or interpretations.  What, exactly
did you do, and what, exactly, did you see?

> >umount /backup
> umount: cannot unmount /dev/vdata/lv_back : Block device required
> umount: return error 1.

   It may be too late for that now.

   Have you tried rebooting the system?