Sponsored Content
Top Forums UNIX for Advanced & Expert Users moving space from one partition to another Post 7282 by jason6792 on Sunday 23rd of September 2001 10:18:54 PM
Old 09-23-2001
Eddie,

"Or you want to cut out some space from a mounted partition and give it to another partition? Is this possible? "

This is exactly what i want!!!

Any ideas?

Thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Swap Partition Space

first of all, sorry about my english...I´m a spanish newbie to this marvelous OS and i have just a couple of doubts...u know? :-) 1) how big should my swap partition be if i installed debian 2.2r3 or FreeBSD 4.x on a AMD k7 1400Mhz with 512Mb of Random Access Memory? i heard that those OS... (1 Reply)
Discussion started by: I[X]ION
1 Replies

2. Solaris

copying/moving partition

I have a slice on a 72GB hard drive like this (example): /dev/dsk/c0t1d0s0 51424287 51009 50859036 1% /usr/stuff that I need to copy or move to a slice on a MUCH larger slice like this: /dev/dsk/c0t2d0s6 70592505 570236 69316344 1% /usr/newstuff What is the... (4 Replies)
Discussion started by: antalexi
4 Replies

3. Solaris

Moving a file system to a new partition

Hi everybody. My task today is to move my file system that's 98% full to a new partition slice. I think I'm pretty sure how to do it, but I just wanted to make sure, plus it's been a while since I last did one. The Let's say I have 2 disks c0t0d0 & c0t1d0 ...the file Iwant to move is in c0t0d0s5... (7 Replies)
Discussion started by: Remi
7 Replies

4. BSD

Moving /var partition to USB stick

I am currently running DesktopBSD as a live-CD and need to have a large /var partition because it is currently too small. I have a USB stick which is BSD formatted, and would like to have the /var partition moved over to it. How can this be done? Could I for instance use a symlink? (1 Reply)
Discussion started by: figaro
1 Replies

5. UNIX for Dummies Questions & Answers

shifting space from one partition to other

hi My System is Sun Microsystems Inc. SunOS 5.10 Solaris Partition Info is /dev/vx/dsk/bootdg/var 27G 25G 1.2G 96% /var /dev/vx/dsk/bootdg/oravol 110G 54G 56G 49% /export/home I want to shift space 20G from /export/home to /var What should be the command ?? (2 Replies)
Discussion started by: kaushik02018
2 Replies

6. AIX

Moving free space from one LV to another LV

in the same VG? Is there a way we can do this? We basically have a test server that used to be a production server. Now the newly created test directories have run out of space and the old production directories have alot of free space. Can we transfer that free space over? If so how? Have... (2 Replies)
Discussion started by: NycUnxer
2 Replies

7. Solaris

Increase root partition by moving starting cylinder

I am trying to expand the root partition on Solaris 10. I can expand root partition using format/partition command, but usually increasing cylinders on partition is done on back end. In this case I would have to expand from the front end following the table below, meaning I would have to move the... (12 Replies)
Discussion started by: mjaminal
12 Replies

8. Solaris

Moving disk partition from Solaris sparc to x86

Hello Gurus, Im trying to migrate some SAN disks from sparc server to X86 one, and having issues with disks not getting mounted on the X86 server with " not this fstyp error" due to the different partitions lay out between the two OS. I have tried it from sparc to sparc server and it worked,... (10 Replies)
Discussion started by: aladdin
10 Replies

9. Shell Programming and Scripting

How to consume all available space on partition?

Hi I'm doing some resilience testing and need to write a script to consume all of the available disk space on a partition and then to free it up again. This would need to be - Safe Dynamic, in that it calculates the free space prior to consuming it. I might want to go on to consume a... (7 Replies)
Discussion started by: bbq
7 Replies

10. UNIX for Dummies Questions & Answers

How Much Space Before 1st Partition?

Hello All, I'm having trouble finding info on how to convert sector size (*if that's really what i want to do?) to something easier to understand. I'm trying to copy the MBR from a bootable SD Card to another SD Card or image file, but I'm not sure what I should use in my dd command since I'm... (17 Replies)
Discussion started by: mrm5102
17 Replies
newfs(8)						      System Manager's Manual							  newfs(8)

Name
       newfs - construct a new file system

Syntax
       /etc/newfs [ -N ] [ -n ] [ -v ] [ mkfs-options ] special disk-type

Description
       The command is a front-end to the program.  The program looks up the type of disk a file system is being created on in the disk description
       file calculates the appropriate parameters to use in calling then builds the file system by forking If the file system is a root partition,
       installs the necessary bootstrap program in the initial 16 sectors of the device.

       If there is no disk description for the specified disk type in the file, the program will use the subroutine to derive disk geometry infor-
       mation from the controlling device driver.  This functionality is provided for MSCP and SCSI disks.

Options
       -N	 Runs in no update mode.  In this mode, will not write to

       -n	 Prevents the bootstrap program from being installed.

       -v	 Instructs to print out its actions, including the parameters passed to

       Options which may be used to override default parameters passed to are:

       -s size	 The size of the file system in sectors.

       -b block-size
		 The block size of the file system in bytes.

       -f frag-size
		 The fragment size of the file system in bytes.

       -t #tracks/cylinder
       -c #cylinders/group
		 The number of cylinders per cylinder group in a file system.  The default value used is 16.

       -m free space %
		 The percentage of space reserved from normal users; the minimum free space threshold.	The default value used is 10%.

       -o optimization
		 Specifies whether the file system will optimize for space or for time.

       -r revolutions/minute
		 The speed of the disk in revolutions per minute (normally 3600).

       -S sector-size
		 The size of a sector in bytes (almost never anything but 512).

       -i number of bytes per inode
		 This specifies the density of inodes in the file system.  The default is to create an inode for each 2048 bytes  of  data  space.
		 If fewer inodes are desired, a larger number should be used; to create more inodes a smaller number should be given.

Files
       For disk geometry and file system partition information

       To actually build the file system

       For boot strapping program

See Also
       disktab(5), fs(5), chpt(8), fsck(8), format(8v), creatediskbyname(3x), mkfs(8), tunefs(8)
       "A Fast File System for UNIX", Supplementary Documents, Volume 3: System Manager

																	  newfs(8)
All times are GMT -4. The time now is 09:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy