- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS Configuration
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 06:34 AM
11-17-2005 06:34 AM
NFS Configuration
/dev/vg00/lvol9 16777216 15618902 1095604 93% /opt/oracle
I need to take backup of this file system to another server using NFS. and then i Hvae to extend this VG size.
Please suggest how to mount this file system to another server i.e our ftp server.
ssh, telnet - blocked (in ftp server)
scp - not found (in source server)
I have a local user name & password of ftp server.
thanks
vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 06:51 AM
11-17-2005 06:51 AM
Re: NFS Configuration
Your problem needs more clarification.
- Do you want to extend the 'volume group', or the 'logical volume'& filesystem? I believe the latter is what you want to extend.
- Do you have any access to the ftp server? You said you can't use scp or ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 06:52 AM
11-17-2005 06:52 AM
Re: NFS Configuration
Consult the man pages for exportfs and mount.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 06:58 AM
11-17-2005 06:58 AM
Re: NFS Configuration
I have free PEs in my VG.
I have ftp user account & password of another server.
It works only with ftp
It does work ssh & telnet.
I was trying to copy my data with scp on my server.
but scp : not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 07:18 AM
11-17-2005 07:18 AM
Re: NFS Configuration
If you are using HP SSH then the location is
/opt/ssh/bin/sftp
/opt/ssh/bin/ssh
/opt/ssh/bin/scp
You can create a link to these files in /usr/bin so that it is in that path.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 08:23 AM
11-17-2005 08:23 AM
Re: NFS Configuration
ssh: connect to host 111.111.1.11 port 22: Connection timed out
lost connection
please suggest what to do
thanks
vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 04:17 AM
11-18-2005 04:17 AM
Re: NFS Configuration
#ssh admin@ftpserver
now the home directory is :
sh-2.04$ pwd
/local_user_
sh-2.04$ ls -l
total 0
sh-2.04$ cd ..
sh-2.04$ pwd
/
sh-2.04$ ls
WhichRoot bin ca_lic etc hd lib mgmt proc sfdiskmap.out tmp version
admin-cgi boot common-cgi flash htdocs local_user_ mnt ramdisk shares usr
apps bru dev ftp install_tools management opt sbin timezone var
It shows diffent files.
and when i use ftp from my HP server--
#ftp ftpserver
ftp> pwd
257 "/" is current directory.
ftp> ls -l
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxrwxrwx 36 admin admingrp 4096 Nov 4 10:56 Backup
drwxrwxrwx 3 admin admingrp 20 Nov 7 06:47 LATemp
drwxrwxrwx 52 admin admingrp 4096 Nov 16 10:31 SoftLib
#
226 Transfer complete.
ftp>
Problem is - I need to go in /Backup directory .
I need to mount a file system of my HP server in /Backup directory of ftp server.
how can i mount a file system of my HP server in /Backup directory of ftp server?
Please suggest.
vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 04:34 AM
11-18-2005 04:34 AM
Re: NFS Configuration
For this to be achived first of all your file system should be exported from the HP Server. Find this by looking entry in
/etc/exports
If the entry is not there then export file system manually ( With Read Only Option)
#exportfs -i -o ro /opt/oracle
Now on the server where you want this to mount
#mount hp_server_hostname:/opt/oracle /Backup
You need to have proper previledges on the server where you want to mount this.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 04:43 AM
11-18-2005 04:43 AM
Re: NFS Configuration
Thanks
But as i told you before .
when i am using ssh to access that server,
i could not find that directory which i got using ftp.
I need to mount my filesystem in /Backup directory of ftp server,
Plz read my previous comments,
waiting for your feedback.
thanks
vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 04:55 AM
11-18-2005 04:55 AM
Re: NFS Configuration
It is quite possible and there is nothing strange in this. Your ftp root has been set somewhere else. You create a local directory after logging in using ssh and then try mounting it. If you have enough privileges you should be able to do so.
Why you want to mount it on directory in FTP home of that user when for backup you have to use tar/cpio only? I do not understand your requirement to mount it there.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 05:07 AM
11-18-2005 05:07 AM
Re: NFS Configuration
1st I will mount this filesystem on our backup/ftp server, then copy all the data in /Backup directory, then i will extend the LV & FS.
I have online JFS but for security i want to take the backup.
My boss told me that i have to mount, then copy data in backup/ftp server, then i have to extend the LV/FS.
after ssh, when i try :
mount hp_server_hostname:/opt/oracle /Backup
mount : not found
what will be the steps for tar & cpio?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 05:21 AM
11-18-2005 05:21 AM
Re: NFS Configuration
You can try giving full path to mount here. Allthough if ftp server is a HPUx box then mount will be premitted to root only and it might through a similar error.
mount: must be root to use mount
Full path to mount is /sbin/mount
#mkdir /Backup
#/sbin/mount hp_server_hostname:/opt/oracle /Backup
(Your local file system here should have atleast this much free space)
Once mounted copy data using cpio like
As you mounted it on /Backup and free space is there in /home/admin/Backup then
#cd /Backup
#find ./ -name "*" -print|cpio -pdmv /home/admin/Backup
Once done compare with du.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 05:35 AM
11-18-2005 05:35 AM
Re: NFS Configuration
#ssh admin@ftpserver
now the home directory is :
sh-2.04$ pwd
/local_user_
sh-2.04$ ls -l
total 0
sh-2.04$ cd ..
sh-2.04$ pwd
/
sh-2.04$ ls
WhichRoot bin ca_lic etc hd lib mgmt proc sfdiskmap.out tmp version
admin-cgi boot common-cgi flash htdocs local_user_ mnt ramdisk shares usr
apps bru dev ftp install_tools management opt sbin timezone var
sh-2.04$ cd /
sh-2.04$ /sbin/mount hp_server_ip:/opt/oracle /Backup
sh: /sbin/mount: No such file or directory
It shows diffent files.
and when i use ftp from my HP server--
#ftp ftpserver
ftp> pwd
257 "/" is current directory.
ftp> ls -l
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxrwxrwx 36 admin admingrp 4096 Nov 4 10:56 Backup
drwxrwxrwx 3 admin admingrp 20 Nov 7 06:47 LATemp
drwxrwxrwx 52 admin admingrp 4096 Nov 16 10:31 SoftLib
#
226 Transfer complete.
ftp>
Problem is - I need to go in /Backup directory .
I need to mount a file system of my HP server in /Backup directory of ftp server.
how can i mount a file system of my HP server in /Backup directory of ftp server?
Please suggest.
vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 06:04 AM
11-18-2005 06:04 AM
Re: NFS Configuration
You need to have some privileges on your ftp server, which you do not have. Also after having previleges find Backup directoty in ftp root directory.
#find / -name Backup -print |pg
#cd PATH_TO_BACKUP/Backup
Confirm free space in this backup directory by using
#bdf .
( It should have atleast 16GB free space.)
You are still doing some mistake. From the above posts it seems that you are trying to backup existing file system in Backup directory for that you will have to mount it somewhere else and will have to copy it to Backup directory.
HTH,
Devender