Transfering size between partitions


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Transfering size between partitions
# 1  
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%
# 2  
Old 09-17-2003
Hi,

What do you use for kind of a diskmanager?

Veritas Volume manager ?
SDS/ODS
Or just plain FS ?

df -kl, will let me know what you use.

It's most of all easy to grow an FS, shrinking however is a little harder. Also Online JFS would be something nice to have.
Waiting for your reply.

Regs David
# 3  
Old 09-17-2003
When this box was built, someone took Sun's default layout. This puts /var, /usr, and /opt all in root. I think that all 3 are a mistake, but /var is especially bad. Anyone can create files in /var/tmp.

Make sure that you don't have a lot of junk in /var. Have you cleaned it up?
# 4  
Old 09-17-2003
Im not really sure what disk manager im using. Here is the output of the df -kl command:

$ df -kl
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 6191949 5736719 393311 94% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 559416 16 559400 1% /var/run
swap 559424 24 559400 1% /tmp
/dev/dsk/c0t0d0s3 12529779 232078 12172404 2% /space
/export/home/faculty 6191949 5736719 393311 94% /home/faculty

thanks
# 5  
Old 09-17-2003
Hi,

This shows you that you have no volume manager at all.

It's going to be quiet hard to change this. It can only be done using "format" and increase/decrease the specified slice.

I strongly recommend to not do this. It will not be safe to do. As Perderabo already told. It's not the best install. Please see if you can re-install or else add an extra root-disk.

also Veritas Volume manager should be free of use for the rootdg (rootdisks).

Regs David
# 6  
Old 09-17-2003
First off what is the best way to check the size of a directory and its content? Secondly what can be cleaned out of /var?
# 7  
Old 09-17-2003
Also, what is the best way to configure the File System when installing a new OS?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question