×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

AIX mount error "A file or directory in the path name does not exist."

AIX mount error "A file or directory in the path name does not exist."

AIX mount error "A file or directory in the path name does not exist."

(OP)
Hello people,
I successfully created a new volume using "smitty mklv" command with the name u20. Running the "lslv u20" command shows the following:

# lslv u20
LOGICAL VOLUME: u20 VOLUME GROUP: altbckupandexpo
LV IDENTIFIER: 00c9fa2000004c000000013b0aa4ffc0.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: closed/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 1021 PP SIZE: 1024 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 1021 PPs: 1021
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 16
MOUNT POINT: N/A LABEL: /u20
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO


How can I specify a mount point for this volume in order to successfully mount it?


looking forward to your suggestions... thanks

RE: AIX mount error "A file or directory in the path name does not exist."

(OP)
when I run the "mount /u20" command I the following:
mount: 0506-324 Cannot mount /dev/fslv00 on /u20: A file or directory in the path name does not exist.

RE: AIX mount error "A file or directory in the path name does not exist."

does the directory /u20 exist?

RE: AIX mount error "A file or directory in the path name does not exist."

Obi,
What are you doing, that is wrong, you are trying to mount a LV on another LV!
/dev/fslv00 is a LV which might have a mount point and u20 is another LV.

See the output of your lslv command
MOUNT POINT: N/A --> which means there is no mount point defined, so how could you read it?

Here is what you do,
You created a LV, now you need a mount point in order to read/write in that LV.

Since you are done with mklv command. Now you have to create a file system for the LV.
Select a file system name that you feel is relevant, you can also select u20 as your FS

crfs -v jfs2 -d u02 -m /<FileSystem name> -Ay
I am selecting FS type as jfs2 and -Ay= automatic mount is yes.

So # crfs -v jfs2 -d u02 -m /u20 -Ay

SARFARAZ AHMED SYED,
Sr. Systems Engineer

RE: AIX mount error "A file or directory in the path name does not exist."

(OP)
iggsterman, pardon me (I am new to AIX) if the folder exists, where would it be? in other words, how can I verify that it actually exist?


AIXLogician, when I run "crfs -v jfs2 -d u02 -m /u20 -Ay" command, I get the following

crfs: 0506-909 /u20 file system already exists.


Thanks for all your support so far.

RE: AIX mount error "A file or directory in the path name does not exist."

You just need to verify:
ls -l /u20
If you have to create it run:
mkdir /u20

Better yet, just do this:
smitty crjfs2lvstd
This will bring you to the menu to add a filesystem to a previously defined logical volume.

For the future, do not create an LV if your sole purpose is to create a filesystem. Just create the filesystems and it will perform mklv on the background.

Hope this helps.

RE: AIX mount error "A file or directory in the path name does not exist."

(OP)
Thanks a lot for all your help... I successfully mounted my LUN... Oh, and thanks a lot for the tip. I'll make sure I remember that next time.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close