Operating System - HP-UX
1835489 Members
2934 Online
110078 Solutions
New Discussion

Re: cannot unmount : Block device required

 
BENABBOU
Advisor

cannot unmount : Block device required

Hi All,

I'm trying to umount an FS , i have the same error :
MyMachine : /home/root > umount /MyFS
umount: cannot unmount /MyFS : Block device required
umount: return error 1.

i regenrate the /etc/mnttab but i still have the same error.

I have HPUX 11iV1

Thanks for help
14 REPLIES 14
Michal Kapalka (mikap)
Honored Contributor

Re: cannot unmount : Block device required

hi,

check the mount or bdf and them

umount /dev/vgxyz/lvolx

maybe the /etc/fstab do not have any entry from your /MyFS

mikap
BENABBOU
Advisor

Re: cannot unmount : Block device required

I already try to umount via the special file i have the same problem.
the /etc/fstab semble be good.


Michal Kapalka (mikap)
Honored Contributor

Re: cannot unmount : Block device required

George_Dodds
Honored Contributor

Re: cannot unmount : Block device required

can you provide the output of :-

#bdf

And also

#cat /etc/fstab

Thanks

George
sreekanthtm
Trusted Contributor

Re: cannot unmount : Block device required

Hi,

Please post o/p of the following cmnds also.
# umount
# umount /dev//

Rgds,
Sreekanth
Suraj K Sankari
Honored Contributor

Re: cannot unmount : Block device required

Hi,

Is it a NFS file system or local file system ?

Suraj
BENABBOU
Advisor

Re: cannot unmount : Block device required

Hi This is the output required :

MyMachine: /home/root > bdf | grep /MyFS
102400 8424 93248 8% /MyFS
MyMachine: /home/root >
MyMachine: /home/root > grep /dev/vgxMyEnv/lvol01 /etc/fstab
/dev/vgxMyEnv/lvol01 /MyFS vxfs rw,suid,largefiles,delaylog,datainlog 0 2
MyMachine: /home/root > umount /MyFS
umount: cannot unmount /MyFS : Block device required
umount: return error 1.
MyMachine: /home/root > umount /dev/vgxMyEnv/lvol01
umount: cannot unmount /MyFS : Block device required
umount: return error 1.


This is not an NFS FileSystem
Sunny123_1
Esteemed Contributor

Re: cannot unmount : Block device required

Hi BEN

Is there any symbolic link that pointed to your file system .
Try find command ex:find / -type

Regards
Sunny
sreekanthtm
Trusted Contributor

Re: cannot unmount : Block device required

Hi,

bdf o/p is not showing the device file name.. srange!!! Any way this may be terminal setting prblm also.
Go through this link... here the problem was symbolic link. Please chek that too.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1245151745290+28353475&threadId=727099

Rgds,
Sreekanth
TTr
Honored Contributor

Re: cannot unmount : Block device required

> bdf o/p is not showing the device file name.. srange!
Not really. The device name is too long and it is on a separate line before the grep-ed line.
Do you have any cascaded mount points under /MyFS or are you exporting any subdirectories (and are mounted on other systems) under /MyFS?
Check the status of the vgxMyEnv with vgdisplay and of the logical volume lvol01 with lvdisplay and with "ll /dev/vgxMyEnv/lvol01"
Bill Hassell
Honored Contributor

Re: cannot unmount : Block device required

Your fstab file is probably wrong. A block device is /dev/dsk/, but you probably have /dev/rdsk/. The /dev/rdsk directory is for raw devices. When you umount by mountpoint name, the fstab file is consulted to fond the actual device file (the first field). Do not use grep with bdf. Insteas, tell bdf exactly what you want to see:

bdf /MyFS

bdf will split lines that are too long but grep does not know this. What does the above command report?


Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: cannot unmount : Block device required

You might also want to show the MyFS line in /etc/mnttab.
BENABBOU
Advisor

Re: cannot unmount : Block device required

Hi all
I reboot the machine it's OK for now.

Many thanks for help.
BENABBOU
Advisor

Re: cannot unmount : Block device required

Hi all
I reboot the machine it's OK for now.

Many thanks for help.