Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resize a logical volume

Status
Not open for further replies.

willct

Programmer
Oct 4, 2005
17
US
Hi !

How do i make a file system(already exist) bigger?

thanks!
 
Not sure of the o/s , i think
AT&T 4.0,2.0,3433 386/486/MC
NCR
i did a uname -v thats what it return , the unix box is about 15 years old need to increase a file system so i can dump some data. the filesystem is /data
 
hmmm.. if my memory serves me, NCR had its own unix... ufff, quite old. I don't think it can be possible (extend a filesystem), I think you should create a new filesystem in other disk, move the content (or part of it) to the new filesystem and then re-mount it with the old mount point.

Cheers.

Chacal, Inc.[wavey]
 
You can't expand it.

You need to mount the disk as a new filesystem, and either move all data to that filesystem or mount it under the same directory structure as the one already existing (may not be easy/possible).

What application(s) are you still using there? could you perhaps move them to a newer machine/OS combination? it may prove to be easier than adding a new hard disk to that particular OS/machine, specially as you do not know what you are doing. (no pun intended).


Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Well if it was Aix4 or higher or hp-ux 10 , i would know what to do.

I'm trying to move the data to another machine , problem is i need to somehow create space to dump the data from the database.

Is NCR unix obslete?
I do not see why you can't allocate spaceeee.
thanks!!
 
willct, um you might say NCR unix is obsolete. The last NCR box I saw was over 8 years ago and that was while migrating the app to Solaris x86. I highly doubt that you can increase the filesystem.

If you are just trying to export the data to move somewhere else you might have some options. In the past I have used named pipes and rsh to export old Oracle databases. Something along the lines of:

create a fifo (mkfifo /data/exp_pipe)
prime the pipe (export_prog > /data/exp_pipe &)
let pipe get some data (sleep 10)
pump data to remote system (cat /data/exp_pipe | rsh remote_host "cat > /path/to/remote_dump")

This assumes that the export dumps to a single file.
 
That's a cool method. For sensitive data you could change that to ssh:

cat /data/exp_pipe |
ssh -l user remote_host "cat >/path/to/remote_dump"

Drop the -l user if you've got the same username on both machines.

Kordaff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top