Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Transfering size between partitions Post 40512 by meyersp on Wednesday 17th of September 2003 09:02:11 AM
Old 09-17-2003
Transfering size between partitions

Below is a list of the file system on my Sun system. How can I transfer more disk space from the "/space" partition to the "/" partition with out rebuilding?

/ /dev/dsk/c0t0d0 6191949 5736718 393312 94%
/proc /proc 0 0 0 0%
/dev/fd fd 0 0 0 0%
/etc/mntta mnttab 0 0 0%
/var/run swap 69922 2 69920 1%
/tmp swap 69922 3 69920 1%
/space /dev/dsk/c0t0d0 12529779 232078 12172404 2%
/home/faculty /export/home/fa 6191949 5736718 393312 94%
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Transfering a window to another screen

Dear Experts I am using a workstatin with two screens and its OS is solaris 8. I wish to trnsfer some application windows from one screen to another one without need to closing the window and open it from other screen. Please advise Bests Reza (3 Replies)
Discussion started by: Reza Nazarian
3 Replies

2. UNIX for Dummies Questions & Answers

Transfering files

Hi all. 1. How can i copy files from one unix system to another. should i use ftp? so How? 2. How can i create an archive whose extention is tar.gz? and how can i decompress them later? 3. WHat is RPM ? what does it stands for? Thanks (5 Replies)
Discussion started by: vbs
5 Replies

3. UNIX for Dummies Questions & Answers

Transfering files from one server to another.

My oracle database is generating archive logs. I want to copy those archive logs over to backup server on a regular basis. I know how to create an ftp job and I can put it in my crontab. My problem is that I don't know how to send the files just once instead of sends all the files in the... (4 Replies)
Discussion started by: Alan Bird
4 Replies

4. UNIX for Dummies Questions & Answers

transfering files unix to pc

Hi, I'm an intern at a business that just acquired a company that ran off the unix system. They have files on this workstation that they would like to move to a windows XP pro system, but no one (myself included) has enough unix knowledge to know how to do this. It's my understanding that this can... (8 Replies)
Discussion started by: intern
8 Replies

5. Shell Programming and Scripting

automatic transfering of files using scp

I'm in the process of writing a shell script with copies files from one linux box to another using scp. I wish to run this through a cronjob so it cannot be interactive. This is what I have so far. #!/bin/sh PASSWD='passswd' dateset=$( date | awk '{print $2 $3 $6}') for dates in $dateset;... (1 Reply)
Discussion started by: tcruicksh
1 Replies

6. UNIX for Dummies Questions & Answers

transfering a directory to the toolman

I have a question about transferring a directory to the toolman. I have a directory called assn3 that contains two txt files and one empty directory and I want to transfer the assn3 to my my tooman account. Every time I try to transfer the file it says that the assn3 is not a regular file! what... (3 Replies)
Discussion started by: aama100
3 Replies

7. SCO

check partitions size in MB

hi Howto check partitions size in MB on SCO 5.0.6? Using df command I can see just in blocks. (4 Replies)
Discussion started by: ccc
4 Replies

8. UNIX for Dummies Questions & Answers

Ext3 to NTFS - transfering data

Alright so here is my problem: I have an ext3 external hard drive with about 270gb of data that needs to be copied/transferred to a NTFS drive. The NTFS drive has data currently on it...which obviously needs to stay intact. My supervisor mentioned that this problem could be a little tricky so I... (9 Replies)
Discussion started by: huntreilly25
9 Replies

9. Shell Programming and Scripting

ftp script for transfering files

Hi, I am new to shell scripting,and i was planning to write a script that will FTP files to destination folder. All configuration should be done through a properties files.I was planning that All configuration should be done through a properties files. and finally the output should be... (0 Replies)
Discussion started by: rahul125
0 Replies

10. UNIX for Advanced & Expert Users

transfering kernel image to another system

my server system is low on disk. To install a new kernel I think i shall do the following: 1. compile the kernel on another system. 2. copy bzImage along with config, System.map and of course the laodable module in /lib/modules and transfer them to the server. 3. Now, I can remove the... (0 Replies)
Discussion started by: dr_mabuse
0 Replies
MAKEHISTORY(8)						      System Manager's Manual						    MAKEHISTORY(8)

NAME
makehistory - tools to recover Usenet history database. SYNOPSIS
makehistory [ -A oldtmp ] [ -a active ] [ -b ] [ -f filename ] [ -i ] [ -n ] [ -o ] [ -r ] [ -s size ] [ -T tmpdir ] [ -u [ -v ] ] DESCRIPTION
Makehistory rebuilds the history(5) text file and the associated dbz(3) database. The default name of the text file is /var/lib/news/his- tory; to specify a different name, use the ``-f'' flag. Makehistory scans the active(5) file to determine which newsgroup directories within the spool directory, /var/spool/news, should be scanned. (If a group is removed, but its spool directory still exists, makehistory will ignore it.) The program reads each file found and writes a history line for it. After the text file is written, makehistory will build the dbz database. OPTIONS
-A If the ``-A'' flag is used then the argument given is the pathname makehistory can use to store a copy of the history file as it's being built. It will be appended to, so existing data will not be lost (and so should be valid history entries). -a If the ``-a'' flag is given then the argument is the active file to use rather than the default one of /var/lib/news/active. -b If the ``-b'' flag is used, then makehistory will remove any articles that do not have valid Message-ID headers in them. -f If the ``-f'' flag is used, then the database files are named file.dir and file.pag. If the ``-f'' flag is not used, then a tempo- rary link to the name history.n is made and the database files are written as history.n.pag and history.n.dir. -o If the ``-o'' flag is used, then the link is not made and any existing history files are overwritten. If the old database exists, makehistory will use it to determine the size of the new database. -i To ignore the old database use the ``-i'' flag. Using the ``-o'' flag implies the ``-i'' flag. -s The program will also ignore any old database if the ``-s'' flag is used to specify the approximate number of entries in the new database. Accurately specifying the size is an optimization that will create a more efficient database. (The size should be the estimated eventual size of the file, typically the size of the old file.) For more information, see the discussion of dbzfresh and dbzsize in dbz(3). -u If the ``-u'' flag is given, then makehistory assumes that innd is running. It will pause the server while scanning, and then send ``addhist'' commands (see ctlinnd(8)) to the server for any article that is not found in the dbz database. The command ``makehis- tory -bu'' is useful after a system crash, to delete any mangled articles and bring the article database back into a more consistent state. -v If the ``-v'' flag is used with the ``-u'' flag, then makehistory will put a copy of all added lines on its standard output. -n To scan the spool directory without rebuilding the dbz files, use the ``-n'' flag. If used with ``-u'', the server will not be paused while scanning. -r To just build the dbz files from an existing text file, use the ``-r'' flag. The ``-i'' or ``-s'' flags can be useful if there are no valid dbz files to use. -T Makehistory needs to create a temporary file that contains one line for each article it finds, which can become very large. This file is created in the /var/spool/news/in.coming/tmp directory. The ``TMPDIR'' environment variable may be used to specify a dif- ferent directory. Alternatively, the ``-T'' flag may be used to specify a temporary directory. In addition, the sort(1) that is invoked during the build writes large temporary files (often to /var/tmp but see your system manpages). If the ``-T'' flag is used, then the flag and its value will be passed to sort. On most systems this will change the temporary directory that sort uses. if used, this flag and its value will be passed on to the sort(1) command that is invoked during the build. EXAMPLES
A typical way to use this program is with the following /bin/sh commands: ctlinnd throttle "Rebuilding history file" cd /var/lib/news if makehistory -n -f history.n ; then : else echo Error creating history file! exit 1 fi # The following line can be used to retain expired history # It is not necessary for the history file to be sorted. # awk 'NF==2 { print; }' <history >>history.n # View history file for mistakes. if makehistory -r -s `wc -l <history` -f history.n; then mv history.n history mv history.n.dir history.dir mv history.n.pag history.pag fi ctlinnd go '' BUGS AND LIMITATIONS
Makehistory does not handle symbolic links. If the news spool area is split across multiple partitions, the following commands should probably be run before the database is regenerated: cd /var/spool/news find . -type l -name '[1-9]*' -print | xargs -t rm Make sure to run the command on all the appropriate partitions! HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision 1.3, dated 1996/11/26. SEE ALSO
active(5), ctlinnd(8), dbz(3), filechan(8), history(5), innd(8), newsfeeds(5), makeactive(8), newsrequeue(8). MAKEHISTORY(8)
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy