The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
filesystem mounting prashantchavan SUN Solaris 2 12-29-2007 12:41 AM
(URGENT) Mounting JFS2 FileSystem on AIX 4.3 aldowsary AIX 3 02-06-2007 04:50 AM
Mounting NTFS filesystem woofie Red Hat 9 09-09-2006 06:04 AM
mounting filesystem error rbizzell BSD 1 08-18-2006 11:15 AM
Mounting a remote filesystem under SCO Unix ver 5.0.5 darkestafrica UNIX for Advanced & Expert Users 1 11-02-2001 07:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-26-2008
austin4397 austin4397 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 1
Question Automatically mounting a filesystem after a reboot

Hi All,

I am new to AIX. I am having problems mounting a filesystem after a system reboot.

Steps:

1. Create and Map LUN to host

2. On the host, to detect/configure the LUN: /usr/sbin/cfgmgr

3. Create a filesystem: mkfs -V vxfs /dev/hdisk757

4. Create a mountpoint: mkdir -p /mnt/testlun; chmod 777 /mnt/testlun

5. Mount the filesystem: mount -V vxfs -o log=INLINE /dev/hdisk757 /mnt/testlun

6. Populate the /etc/filesystems:
echo '
/mnt/testlun:
dev = /dev/hdisk757
vfs = vxfs
log = INLINE
mount = automatic <--- Tried using "true"
check = false' >> /etc/filesystems

7. touch a file

8. ls /mnt/testlun
testfile1

9. reboot

After the system reboots, I don't see the filesystem in the df output.

Are the above steps correct?. Do I need to use some kind of container like volume group or diskgroup for veritas, before I can create a filesystem on it.?.

Thanks...
  #2 (permalink)  
Old 02-26-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,641
Hmmm...

I have never heard about a "vxfs" filesystem. In AIX JFS (journaling file system) and its successor JFS2 are common.

The "containers" as you have called them are integrated parts of AIX. Without having created a volume group or having added your disk to an existing one you will not even be able to use it, so perhaps your filesystem (if you created any) is now on some other disk.

For short: your problem can easily be corrected by editing the file /etc/filesystems and add the line


Code:
mount           = true

To the filesystems stanza. Assuming your filesystem is mounted on /path/to/fs this would look similar to that (the line to insert/change is marked bold):


Code:
/path/to/fs:
        dev             = /dev/my_new_lv
        vfs             = jfs2
        log             = /dev/hd8
        mount           = true
        check           = true
        vol             = /path/to/fs
        free            = false
        quota           = no

Right now I'm a bit short on time, but as i see much confusion over this issue now and again i will write a detailed explanation of the LVMs workings over the next few days. Until then you might read some information about the LVM (Logical Volume Manageer) on the IBM Website (the link to the redbook site is pinned in the links section this forum) and read the following (part-)explanations i have written in answering one or the other question.

Extend a Filesystem with other LV

how to mirror raid5

/tmp filesystem full

I hope this helps.

bakunin
  #3 (permalink)  
Old 02-27-2008
baochengchen baochengchen is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 3
vxfs is a type of hpux OS filesystem.. I think you take wrong place. and the first answer is correct way to deal this problem in AIX.
  #4 (permalink)  
Old 02-29-2008
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 431
vxfs is the veritas filesystem used with veritas volume manager, which is also used on hpux, solaris and other os

but I've never used it on AIX, can't help you on that
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0