Sponsored Content
Top Forums UNIX for Advanced & Expert Users moving space from one partition to another Post 7280 by jason6792 on Sunday 23rd of September 2001 09:34:26 PM
Old 09-23-2001
moving space from one partition to another

How can I move some space allocated to one partition to another,
i.e. from "/var" to "/" .

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
REPARTITION(8)						      System Manager's Manual						    REPARTITION(8)

NAME
repartition - load a partition table SYNOPSIS
repartition device [partition-file] DESCRIPTION
Repartition uploads a new partition table for the partitions of device. The table is obtained from the first sector of partition-file if given, device otherwise. Device may refer to the whole drive or a primary partition, depending on whether you want to upload a partition or a subpartition table. The partitions will be truncated to fit within the enclosing device like the disk driver does, unless the numbers are coming from partition-file. EXAMPLES
repartition /dev/hd0 repartition /dev/hd4 /etc/hd4.table Reload the partition table of drive 0 setting /dev/hd[1-4], and the subpartition table of /dev/hd4 setting /dev/hd4[a-d] using a file. The latter may be useful if you need more than the 4 subpartitions a single Minix partition gives you. DIAGNOSTICS
The new table is printed on standard output. FILES
/dev/hd[0-9] SEE ALSO
hd(4), part(8). BUGS
The disk must be in use for the changes to stick. The partition table of an idle disk will be reloaded on the first open. AUTHOR
Kees J. Bot (kjb@cs.vu.nl) REPARTITION(8)
All times are GMT -4. The time now is 01:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy