Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mounting a remote filesystem under SCO Unix ver 5.0.5 Post 8769 by darkestafrica on Wednesday 17th of October 2001 01:15:31 PM
Old 10-17-2001
Data Mounting a remote filesystem under SCO Unix ver 5.0.5

Can anyone help me? I have 2 servers on the same LAN, one as a live server and one as a backup server, both running SCO OpenServer Enterprise. I need to mount the /u filesystem of the backup server as a directory on the live server, so that if I use the df -v command I can see it as an additional filesystem on the live server, eg assuming I mount it as /dev/back:
Mount Dir Filesystem blocks used free %used
/ /dev/root 1296384 972142 324242 75%
/stand /dev/boot 30720 15264 15456 50%
/u /dev/u 2506540 1874904 631636 75%
/back /dev/back ???????? ???????? ??????? ??%

I would then use crontab to cp -r all directories within the /u filesystem of the live server to this filesystem on the backup system at scheduled times after hours.
Is it possible to do this, or do I have to set up nasty ftp scripts to do it instead?. I tried using rcp but it resulted in rather spectacular kernel panics which did not go down too well with the business owner. Any help would be greatly appreciated...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mounting in sco unix

how do I mount a cdrom in sco unix? (1 Reply)
Discussion started by: Lazarus
1 Replies

2. UNIX for Dummies Questions & Answers

How to install modem in SCO OPEN SERVER VER 5.05

Hello Friends. I would like to know couple of questions. 1. How to install internal modem in unix operating system. I have a toshiba laptop with toshiba v.90 internal modem . 2. Where is hyper Terminal in Unix. 3. Where i can get the support for windows like we used to have vipex. (2 Replies)
Discussion started by: skywatcher
2 Replies

3. UNIX for Advanced & Expert Users

Remote ACCESS in SCO UNIX

I have set up a modem in SCO Unix .. I want to dial in from a remote terminal program, what else is needed .. do I have to configure UUCP ?? How ? Any other configurations ? CHRIS (1 Reply)
Discussion started by: germiphene
1 Replies

4. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

5. SCO

Remote booting in sco unix

Hi ., I have a SCO Unix server 5.0.5.I need to connect it to 10 diskless clients with 5 of them with Realtek Network card and other 5 with compex card. I want the procedure to complete this task.Help Me. (0 Replies)
Discussion started by: rajbalaram
0 Replies

6. BSD

mounting filesystem error

I get error that I have to rund fsck manually on my filesystem, but when I go to run fsck on filesystem ad1s1e I get an error that says can't open device not configured so fsck won't rund on that filesystem. I am only booting up in single user mode. I noticed when I look in the fstab file the... (1 Reply)
Discussion started by: rbizzell
1 Replies

7. Solaris

filesystem mounting

Hi all, I have a question regarding filesystem mounting. I have one Sun box(V240) and a NAS on a network. Sun machine shows the following output of df -k command. # df -k Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d0 11094316 8509226 2474147 78% ... (2 Replies)
Discussion started by: prashantchavan
2 Replies

8. Solaris

Need help on filesystem mounting

Hi techies, I am pretty new to Solaris. So the qstn might be a silly one. I had a local disk with Solaris installed. I have done ufsdump to a SAN disk and after that s3 and s7 slices are giving the following error : "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY." I had the following... (4 Replies)
Discussion started by: manojsomanath
4 Replies

9. Shell Programming and Scripting

Mounting filesystem

Could anyone help me please as I am stuck up. I want to mount /home/dun/maitree location of server A in server B to location /home/dun/tibco .Both server A and server B are Linux machine .The problem is that /home/dun/tibco of server B has some files and directory in it so after doing this... (1 Reply)
Discussion started by: maitree
1 Replies

10. AIX

Mounting a directory in a filesystem

Hi All, Recently I came to know my / root file system is getting full because of application directory /siebel/ I have one option. 1) Down the application , take full backup 2)change the filesystem ownership 2)copy the contents into that filesystem cp -pr /siebel/* /siebelfs/* 3)Inform... (9 Replies)
Discussion started by: Thala
9 Replies
PIVOT_ROOT(8)						       System Administration						     PIVOT_ROOT(8)

NAME
pivot_root - change the root filesystem SYNOPSIS
pivot_root new_root put_old DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details. Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH: cd new_root pivot_root . put_old exec chroot . command Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the root directory of the shell. Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's root or not). EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell: mount /dev/hda1 /new-root cd /new-root pivot_root . old-root exec chroot . sh <dev/console >dev/console 2>&1 umount /old-root Mount the new root file system over NFS from 10.0.0.1:/my_root and run init: ifconfig lo 127.0.0.1 up # for portmap # configure Ethernet or such portmap # for lockd (implicitly started by mount) mount -o ro 10.0.0.1:/my_root /mnt killall portmap # portmap keeps old root busy cd /mnt pivot_root . old_root exec chroot . sh -c 'umount /old_root; exec /sbin/init' <dev/console >dev/console 2>&1 SEE ALSO
chroot(1), mount(8), pivot_root(2), umount(8) AVAILABILITY
The pivot_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux February 2000 PIVOT_ROOT(8)
All times are GMT -4. The time now is 03:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy