Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update /etc/filesystems

Status
Not open for further replies.

neuralnode

Technical User
Sep 12, 2007
59
PL
Hi All,

After a reboot of an AIX 6.1 host (LPAR), the filesystems I previously mounted are not mounted anymore.
There is no information about those fs in the /etc/filesystems file.

So I have 2 questions:

(1) Is there a command that can add manually mounted filesystems to the /etc/filesystems file (=update it)?
I really don't feel like editing that file by hand on every system.

(2) Why weren't the relevant entries added to /etc/filesystems in the first place?
The commands while creating the fs's I used were as follows:

mkvg -y oravg hdisk1​
mklv -t jfs2log -y oralvlog oravg 1​
mklv -y oralv oravg 15G​
mkfs -V jfs2 -A -o log=/dev/oralvlog /dev/oralv​
mount -o noatime,log=/dev/oralvlog /dev/oralv /oradata​
Thanx in advance for your help.

--
 
You should have used crfs instead of mkfs - crfs adds the entries to /etc/filesystems.
 


Yes, that is true.
I've also heard I can export and import the vg to have those filesystems added to /etc/filesystems.
Haven't tried that yet, but surely will.

--
 
No need to export, just import it with -L option.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top