Operating System - HP-UX
1819774 Members
3629 Online
109607 Solutions
New Discussion юеВ

/t_dk1 and /t_dk2 are missing from "bdf"

 
wah
Advisor

/t_dk1 and /t_dk2 are missing from "bdf"

Dear all,

I have two mount point called /t_dk1 and /t_dk2 at my vg01 volume group, but when i run >bdf

bdf

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 144264 1937656 7% /
/dev/vg00/lvol1 1028152 42096 883240 5% /stand
/dev/vg00/lvol8 12582912 3408840 9102944 27% /var
/dev/vg00/lvol7 2621440 1309368 1301888 50% /usr
/dev/vg00/lvol4 2097152 637984 1448360 31% /tmp
/dev/vg00/lvol6 4210688 3708632 498416 88% /opt
/dev/vg00/lvol5 2097152 240440 1842264 12% /home
/dev/vg01/lvol9 75497472 48414464 26871488 64% /dk9
/dev/vg01/lvol8 104857600 11290032 92836624 11% /dk8
/dev/vg01/lvol7 31457280 5304416 25744232 17% /dk7
/dev/vg01/lvol6 31457280 13228512 17943948 42% /dk6
/dev/vg01/lvol5 31457280 15634496 15575560 50% /dk5
/dev/vg01/lvol4 31457280 10681284 20451376 34% /dk4
/dev/vg01/lvol3 31457280 3655616 27367268 12% /dk3
/dev/vg01/lvol2 52428800 1712560 50320216 3% /dk2
/dev/vg00/lvol9 31457280 4200952 26830476 14% /dk1
/dev/vg01/lvol1 31457280 4196 30961700 0% /dk10
$

the /t_dk1 and /t_dk2 are missing, but i can access /t_dk1 and /t_dk2 by >cd /t_dk1 and cd /t_dk2.

What is wrong at my HP-UX box?
8 REPLIES 8
Steven Schweda
Honored Contributor

Re: /t_dk1 and /t_dk2 are missing from "bdf"

> What is wrong at my HP-UX box?

My guess is that nothing is wrong with it.

ls -ld /t_dk1 /t_dk2

mount

I can "cd /lib", too, but that doesn't mean
that "/lib" is a mount point or file system.
Dennis Handly
Acclaimed Contributor

Re: /t_dk1 and /t_dk2 are missing from "bdf"

As Steven says, there is likely nothing wrong with it. Find the real mount point by:
$ bdf /t_dk1 /t_dk2
john korterman
Honored Contributor

Re: /t_dk1 and /t_dk2 are missing from "bdf"

Hi,

if the two mentioned mount points exist in /etc/fstab the described behavior could mean that no disks are presently mounted on these mount points. Try this:

# cd /t_dk1
# bdf .

to see which file system is used; probably the / file system.

Then perform
# mount -a
If something new is mounted, try the above mentioned commands again.


regards,
John K.
it would be nice if you always got a second chance
freddy_21
Respected Contributor

Re: /t_dk1 and /t_dk2 are missing from "bdf"

please check your /etc/fstab file. is /t_dk1 and /t_dk2 already at that file.

if not please add. when server reboot, the server will be looking /ec/fstab. so if you not mention, it will be not mount.

thanks
Freddy
wah
Advisor

Re: /t_dk1 and /t_dk2 are missing from "bdf"

Finally, i use "bdf /t_dk1" and "bdf /t_dk2" and found that
>bdf /t_dk1
/dev/vg00/lvo13
>bdf /t_dk2
/dev/vg00/lvo13

both of them are mounted into the same logical volume.

So, i use "fuser -k /t_dk1" and then "umount /t_dk1", and then mount into the new mount point.

Now, i can bdf
$ bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 144264 1937656 7% /
/dev/vg00/lvol1 1028152 42096 883240 5% /stand
/dev/vg00/lvol8 12582912 3417192 9094656 27% /var
/dev/vg00/lvol7 2621440 1309368 1301888 50% /usr
/dev/vg00/lvol4 2097152 638000 1448344 31% /tmp
/dev/vg00/lvol6 4210688 3708632 498416 88% /opt
/dev/vg00/lvol5 2097152 240440 1842264 12% /home
/dev/vg01/lvol9 75497472 48414464 26871488 64% /dk9
/dev/vg01/lvol8 104857600 11290032 92836624 11% /dk8
/dev/vg01/lvol7 31457280 5304416 25744232 17% /dk7
/dev/vg01/lvol6 31457280 13228512 17943948 42% /dk6
/dev/vg01/lvol5 31457280 15634496 15575560 50% /dk5
/dev/vg01/lvol4 31457280 10681284 20451376 34% /dk4
/dev/vg01/lvol3 31457280 3655616 27367268 12% /dk3
/dev/vg01/lvol2 52428800 1712560 50320216 3% /dk2
/dev/vg00/lvol9 31457280 4200956 26830468 14% /dk1
/dev/vg01/lvol1 31457280 4196 30961700 0% /dk10
/dev/vg01/lvol10 8519680 3192 8250356 0% /t_dk1

However, I still cannot find /t_dk1 at /etc/fstab
$ cat /etc/fstab
/dev/vg00/lvol9 /dk1 vxfs delaylog 0 2
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg01/lvol1 /dk10 vxfs delaylog 0 2
/dev/vg01/lvol2 /dk2 vxfs delaylog 0 2
/dev/vg01/lvol3 /dk3 vxfs delaylog 0 2
/dev/vg01/lvol4 /dk4 vxfs delaylog 0 2
/dev/vg01/lvol5 /dk5 vxfs delaylog 0 2
/dev/vg01/lvol6 /dk6 vxfs delaylog 0 2
/dev/vg01/lvol7 /dk7 vxfs delaylog 0 2
/dev/vg01/lvol8 /dk8 vxfs delaylog 0 2
/dev/vg01/lvol9 /dk9 vxfs delaylog 0 2
$

Do i need to add /t_dk1 manually? or, add via SAM??
Torsten.
Acclaimed Contributor

Re: /t_dk1 and /t_dk2 are missing from "bdf"

You can add it manually to /etc/fstab.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven Schweda
Honored Contributor

Re: /t_dk1 and /t_dk2 are missing from "bdf"

> However, I still cannot find /t_dk1 at
> /etc/fstab
>
> Do i need to add /t_dk1 manually? or, add
> via SAM??

Yes, one or the other.

Adding data to /etc/fstab will get your file
system mounted when someone does "mount -a".
Mounting a file system adds nothing to
/etc/fstab.

man 1m mount
Nagashankarp
Frequent Advisor

Re: /t_dk1 and /t_dk2 are missing from "bdf"

and also when you reboot your system, if you dont add a line in fstab, everytime you have to manual mount.