10-08-2003
copying a large filesystem
Hi there
In my organisation we have a solaris network with /home being automounted from /export/home on a central file server (usual stuff) however, the guy who originally set this up only allocated 3gb to /export/home and now we are really struggling for space. I have a new 18gb disk installed on the same box, it has been formatted and is ready to go. My problem is once i make sure everyone is out of their home directory, what would be the best procedure to copy all the data over to the new disk whilst retaining all folder and file permissions and then of course making it live !. I presume that I dont have to worry about it being called /export/home on the file server as i could share it out even if it was called /newhome ?. What changes to NIS would i need to make ? (automount files etc)
Apologies if this sounds dumb, its just that I have to make sure i dont mess it up, as we have production systems running from /home and it HAS to work in the morning
Cheers
Gary
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
my server runs solaris 10 , one of the partition in my primary harddrive is 99% full , i want to move the contents of it to the second harddrive . what is the best way to move the contents to 2nd drive ? which command should i use cpio/dd/tar/ufsdump .... please guide me with the command and the... (0 Replies)
Discussion started by: skamal4u
0 Replies
2. Solaris
my server runs solaris 10 , one of the partition in my primary harddrive is 99% full , i want to move the contents of it to the second harddrive which has higher capacity. what is the best way to move the contents to 2nd drive ? which command should i use cpio/dd/tar/ufsdump .... please guide me... (1 Reply)
Discussion started by: skamal4u
1 Replies
3. UNIX for Dummies Questions & Answers
We have 3 Unix servers all running SVR4 Unix 1.4. I have no problems copying files to and from 2 of the servers using either the rcp command or ftp but when i come to transfer large files to the third server the copy gives up part way through and crashes this server. Copying smaller files using RCP... (7 Replies)
Discussion started by: coatesd
7 Replies
4. Shell Programming and Scripting
Hi,
I have a process which duplicates files for different environments. As the files arrive, my script (korn shell) makes copies of them (giving a unique name) and then renames the original file so that my process won't get triggered again.
I don't like it either, but it's what we were told to... (4 Replies)
Discussion started by: GoldenEye4ever
4 Replies
5. UNIX for Dummies Questions & Answers
I have a large file that I append entries to the end of every few seconds. Its grown to >150MB. Its basically a log file but a perl script is writing to it. I need to make a copy of it to a new directory. I realize the latest entries occuring while the copy is taking place will not be recorded... (1 Reply)
Discussion started by: lforum
1 Replies
6. UNIX for Dummies Questions & Answers
Hi guys Maybe a stupid question.. IS possible, in unix, to copy files to a remote NFS shared filesystem without mounting it? Just like windows does: copy * \\folderA\folderB Thanks.. (4 Replies)
Discussion started by: iga3725
4 Replies
7. Shell Programming and Scripting
Hello, I need to copy a 700GB tape-image file over a network. I want to start the copy process before the tape-image has finished being restored from the tape. The tape restore speed is about 78 Mbps and the file transfer speed over the network is about 45 Mbps I don't want to use a pipe, since... (7 Replies)
Discussion started by: swamik
7 Replies
8. UNIX for Dummies Questions & Answers
I am wondering if there is a way to search for top 10 files in size in root filesystem but exclude all other mounts including nfs mounts .
For example excluded
/var
/boot
/app
/app1
/u01/ (1 Reply)
Discussion started by: gubbu
1 Replies
9. Shell Programming and Scripting
Hi All,
I have a big file which looks like this:
abc 34.32
cdf 343.45
computer 1.34
ladder 2.3422
I have some 100000 .TXT files which look like this:
computer
cdf
align
I have to open each of the text files and read the words from the text files. Then I have to look into that... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies
10. Shell Programming and Scripting
Hello,
I'm new to this forum and like to first of all say hello to everyone.
I've got a really annoying problem at the moment.
I'm trying to rsync some files (about 200MB with one file of 120MB) from a Raspberry PI with raspbian to a debian server via rsync.
This procedure is stored in a... (3 Replies)
Discussion started by: wex_storm
3 Replies
LEARN ABOUT DEBIAN
calendarserver_export
CALENDARSERVER_EXPORT(8) BSD System Manager's Manual CALENDARSERVER_EXPORT(8)
NAME
calendarserver_export -- Darwin Calendar Server Export Tool
SYNOPSIS
calendarserver_export [-f config_file] [-o output_file] [-c collection] [-H home] [-r record] [-u user]
DESCRIPTION
calendarserver_export is a tool that generates a single iCalendar file containing all of the iCalendar components found from all specified
input sources, providing server administrators a means by which to export data from the Darwin Calandar Server into a format that can be
viewed and/or manipulated by other tools. Multiple input sources may be specified; the resulting iCalendar data will contain the combined
data from all sources.
OPTIONS
-h, --help
Displays usage information
-f, --config FILE
Use the Calendar Server configuration specified in the given file.
-o, --output FILE
Write resulting iCalendar data to the given file.
-c, --collection DIRECTORY
Read iCalendar objects from the calendar collection at the given path.
-h, --home DIRECTORY
Read iCalendar objects from all calendar collections within the calendar home at the given path.
-r, --record TYPE:NAME
Read iCalendar objects from all calendar collections within the calendar home for the directory record of the given type with the given
name.
-u, --user NAME
Read iCalendar objects from all calendar collections within the calendar home for the directory user with the given name. This is
shorthand for -r user:NAME.
FILES
/etc/caldavd/caldavd.plist
The Calendar Server configuration file.
/Library/CalendarServer/Documents
The server's document root, which is the used as the backing store for the HTTP resources on the server.
SEE ALSO
caldavd(8)
STANDARDS
The iCalendar data generated by calendarserver_export is expected to comply with RFC 2445 (iCalendar).
BSD
November 6, 2008 BSD