System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to add external network drive into fstab

 
SOLVED
Go to solution
Wenth Leopold
Occasional Advisor

how to add external network drive into fstab

when i do bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 262144 73489 176949 29% /
/dev/vg00/lvol1 127573 45217 75977 37% /stand
/dev/vg00/lvol8 1245184 775073 442172 64% /var
/dev/vg00/lvol9 1048576 259408 739902 26% /var/adm/crash
/dev/vg00/lvol7 2031616 1612277 393172 80% /usr
/dev/vg00/lvol32 5373952 50213 4991042 1% /usr/Systems/Global_Instance_7.1.6_Master
/dev/vg00/lvol31 3080192 22961 2866413 1% /usr/Systems/1359HA_8.0.0_Master
/dev/vg00/lvol29 20971520 16238902 4591888 78% /usr/Systems/1354RM_1_7.4.7_Master
/dev/vg00/lvol30 7340032 2335057 4692197 33% /usr/Systems/1354RM_1_7.4.7_Master/maintenance
/dev/vg00/lvol28 1245184 237254 944954 20% /usr/Systems/1353NM_9_7.3_Presentation
/dev/vg00/lvol27 1245184 231946 949941 20% /usr/Systems/1353NM_8_7.3_Presentation
/dev/vg00/lvol26 1048576 339486 664823 34% /usr/Systems/1353NM_7_7.4.4_Presentation
/dev/vg00/lvol24 1245184 231263 950583 20% /usr/Systems/1353NM_6_7.3_Presentation
/dev/vg00/lvol23 1245184 227371 954230 19% /usr/Systems/1353NM_5_7.3_Presentation
/dev/vg00/lvol22 1310720 248282 996059 20% /usr/Systems/1353NM_4_7.3_Presentation
/dev/vg00/lvol21 1310720 262006 983185 21% /usr/Systems/1353NM_3_7.3_Presentation
/dev/vg00/lvol20 1245184 222940 958420 19% /usr/Systems/1353NM_2_7.3_Presentation
/dev/vg00/lvol19 1245184 230739 951070 20% /usr/Systems/1353NM_1_7.3_Presentation
/dev/vg00/lvol35 5177344 245707 4623444 5% /usr/Systems/1353NM_15_7.3_Presentation
/dev/vg00/lvol18 1245184 246019 936788 21% /usr/Systems/1353NM_14_7.3_Presentation
/dev/vg00/lvol17 1245184 235033 947047 20% /usr/Systems/1353NM_12_7.3_Presentation
/dev/vg00/lvol16 1245184 229901 951861 19% /usr/Systems/1353NM_11_7.3_Presentation
/dev/vg00/lvol15 1245184 225592 955904 19% /usr/Systems/1353NM_10_7.3_Presentation
/dev/vg00/lvol6 262144 142076 112774 56% /tmp
/dev/vg00/lvol39 131072 1133 121826 1% /tec
/dev/vg00/lvol5 6619136 2397071 3958216 38% /opt
/dev/vg00/lvol14 589824 323224 249965 56% /opt/tao1.4l_p6
/dev/vg00/lvol13 4063232 3072370 928965 77% /opt/oracle10g
/dev/vg00/lvol12 196608 69575 119139 37% /opt/JacORB2.1.3.2
/dev/vg00/lvol4 3080192 722398 2210589 25% /home
/dev/vg00/lvol40 131072 1197 121829 1% /alu
/dev/vg00/lvol10 393216 47623 324032 13% /alcatel
/dev/vg00/lvol34 2097152 489288 1507451 25% /alcatel/DEPOT
/dev/vg00/lvol11 21495808 18860196 2635612 88% /alcatel/8.1PL1
10.249.10.89:/opt/backup/wireline_networks/alcatel/regional_manager
26738992 18954520 7517080 72% /alu/backup_lan_safe
rm81m:/users/alu $


ican see above line 10.249.10.89 ......

is not in the fstab see below


/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol3 / vxfs largefiles,delaylog 0 1
/dev/vg00/lvol4 /home vxfs largefiles,delaylog 0 1
/dev/vg00/lvol5 /opt vxfs largefiles,delaylog 0 1
/dev/vg00/lvol6 /tmp vxfs largefiles,delaylog 0 1
/dev/vg00/lvol7 /usr vxfs largefiles,delaylog 0 1
/dev/vg00/lvol8 /var vxfs largefiles,delaylog 0 1
/dev/vg00/lvol9 /var/adm/crash vxfs largefiles,delaylog 0 1
/dev/vg00/lvol10 /alcatel vxfs largefiles,delaylog 0 1
/dev/vg00/lvol11 /alcatel/8.1PL1 vxfs largefiles,delaylog 0 1
/dev/vg00/lvol12 /opt/JacORB2.1.3.2 vxfs largefiles,delaylog 0 1
/dev/vg00/lvol13 /opt/oracle10g vxfs largefiles,delaylog 0 1
/dev/vg00/lvol14 /opt/tao1.4l_p6 vxfs largefiles,delaylog 0 1
/dev/vg00/lvol15 /usr/Systems/1353NM_10_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol16 /usr/Systems/1353NM_11_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol17 /usr/Systems/1353NM_12_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol18 /usr/Systems/1353NM_14_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol19 /usr/Systems/1353NM_1_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol20 /usr/Systems/1353NM_2_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol23 /usr/Systems/1353NM_5_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol24 /usr/Systems/1353NM_6_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol26 /usr/Systems/1353NM_7_7.4.4_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol27 /usr/Systems/1353NM_8_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol28 /usr/Systems/1353NM_9_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol29 /usr/Systems/1354RM_1_7.4.7_Master vxfs largefiles,delaylog 0 1
/dev/vg00/lvol30 /usr/Systems/1354RM_1_7.4.7_Master/maintenance vxfs largefiles,delaylog 0 1
/dev/vg00/lvol31 /usr/Systems/1359HA_8.0.0_Master vxfs largefiles,delaylog 0 1
/dev/vg00/lvol32 /usr/Systems/Global_Instance_7.1.6_Master vxfs largefiles,delaylog 0 1
/dev/vg00/lvol33 ... swap pri=1 0 0
/dev/vg00/lvol34 /alcatel/DEPOT vxfs largefiles,delaylog 0 1
/dev/vg00/lvol36 ... swap pri=2 0 0
/dev/vg00/lvol22 /usr/Systems/1353NM_4_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol21 /usr/Systems/1353NM_3_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol35 /usr/Systems/1353NM_15_7.3_Presentation vxfs largefiles,delaylog 0 1
/dev/vg00/lvol37 ... swap pri=1 0 0
/dev/vg00/lvol38 ... swap pri=2 0 0
/dev/vg00/lvol39 /tec vxfs largefiles,delaylog 0 1
/dev/vg00/lvol40 /alu vxfs largefiles,delaylog 0 1



please a tip from one of the gurus
how to add line in fstab
stay small think large
4 REPLIES
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: how to add external network drive into fstab

# vi /etc/fstab

192.168.249.213:10.249.10.89:/opt/backup/wireline_networks/alcatel/regional_manager /alu/backup_lan_safe nfs defaults 0 0
:wq

Regards,
Robert-Jan

Re: how to add external network drive into fstab

>external network drive

These are called NFS mounts, not external network drives.
It appears the sysadmin has issued a mount command for the filesystem or the automounter has done that. If you want that permanent, you can just add an entry to /etc/fstab or let SAM do it for you.
You can get a good idea of the format by finding the entry in /etc/mnttab.
Wenth Leopold
Occasional Advisor

Re: how to add external network drive into fstab

thanks to both gentlemen
the sam used to work fine
the check in the fstab oproved ok

thread can be closed
stay small think large
Wenth Leopold
Occasional Advisor

Re: how to add external network drive into fstab

both infos were usefull
stay small think large