11-09-2006
resizing the partition table
Host 1
-------
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 1911 18.56GB (1912/0/0) 38913024
1 swap wu 1912 - 5434 34.19GB (3523/0/0) 71700096
2 backup wm 0 - 14086 136.71GB (14087/0/0) 286698624
3 usr wm 5435 - 7145 16.60GB (1711/0/0) 34822272
4 unassigned wm 7146 - 8856 16.60GB (1711/0/0) 34822272
5 var wm 8857 - 10768 18.56GB (1912/0/0) 38913024
6 unassigned wm 10769 - 12479 16.60GB (1711/0/0) 34822272
7 home wm 12480 - 14086 15.60GB (1607/0/0) 32705664
Host 2
------
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 12074 - 14086 19.54GB (2013/0/0) 40968576
1 swap wu 0 - 3220 31.26GB (3221/0/0) 65553792
2 backup wm 0 - 14086 136.71GB (14087/0/0) 286698624
3 usr wm 8300 - 10060 17.09GB (1761/0/0) 35839872
4 unassigned wm 6539 - 8299 17.09GB (1761/0/0) 35839872
5 var wm 10061 - 12073 19.54GB (2013/0/0) 40968576
6 unassigned wm 4778 - 6538 17.09GB (1761/0/0) 35839872
7 home wm 3221 - 4777 15.11GB (1557/0/0) 31688064
Hi,
Is there way to resize the partition tables?
I want to make host 1 exactly same as host2.
This involves decrasing/increasing the size of the partitions.
The above are system disk partitions.
I was asked to build host 1 exactly like Host 2 after I have installed the solaris 9 on Host 1.
Please help me.
Thanks.
Srini
10 More Discussions You Might Find Interesting
1. Solaris
I have two disks on a sun blade 100. I just installed a solaris8 on the first disk. The installation was successful. But the problem is now I lost all data / partition on my second hard disk.
The possible reason could be:
1. I used default web start install. During the installation I didn't... (2 Replies)
Discussion started by: motor98
2 Replies
2. UNIX for Advanced & Expert Users
I want to modify a predefined partition on Solaris. This predefined partion has 51 GB. I want to partition it as two partition. One is 5G, another one is about
46 GB. I want to use these commands:
#format
specify disk
#partition
# modify
The system told me that ' Cannot modify disk... (1 Reply)
Discussion started by: duke0001
1 Replies
3. UNIX for Advanced & Expert Users
Everybody help me ....!!!!
I've tried to resize my hardisk to the real size alway failed.
my hardisk is 40MB samsung 5400rpm, but I've already installed on it my applications on 8GB partition there so much free available space but I can't use it. how to resize it to real 40GB.......?????????? (2 Replies)
Discussion started by: guhzeman
2 Replies
4. Solaris
I have X4500 running Solaris 10. I have formatted a disk and created partition table as given below.
Specify disk (enter its number): 0
selecting c0t0d0
/dev/dsk/c0t0d0s0 is part of active ZFS pool zpool1. Please see zpool(1M).
FORMAT MENU:
disk - select a disk
... (3 Replies)
Discussion started by: bharu_sri
3 Replies
5. Slackware
Hi All,
I am a linux newbie. After working with my loveable FEDORA 10 for months, i found it a bit slower. I wanted to try with slackware this time. I already had Windows XP and fedora in my 80 GB SATA disk. Now i allotted 15 GB ( SWAP + / + /home/usr ). During my installation i encountered no... (5 Replies)
Discussion started by: beinthemiddle
5 Replies
6. Solaris
I'm manually editing the partition table purely for experimenting. I did
prtvtoc /dev/dsk/c1t0d0s2 > /tmp/prtvtoc
I'm trying to split up partition 5 to make partition 6. I'm running into a cylinder boundary error on partition 6. Any clues?
# vi /tmp/prtvtoc
"/tmp/prtvtoc" 23 lines, 769... (1 Reply)
Discussion started by: adelsin
1 Replies
7. SCO
hi
How can I backup MBR an Partition Table of SCO 5.0.6? (7 Replies)
Discussion started by: ccc
7 Replies
8. Red Hat
Hi,
I need to mount the device from this device
# fdisk -l
.
.
.
Disk /dev/sdas: 2000.4 GB, 2000365289472 bytes
255 heads, 63 sectors/track, 243197 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size... (0 Replies)
Discussion started by: justbow
0 Replies
9. Programming
Hello,
I have a database called "audit_database" and I want to create two tables.
Table 1 = Table 1
Table 2 = Audit
I want to partition the Audit table into partitions grouped by month. I'm not familiar with table partitioning but doing some reading online shows that it can be done but... (4 Replies)
Discussion started by: bbbngowc
4 Replies
10. UNIX for Advanced & Expert Users
Hello,
I have rebooted the RHEL VM but after rebooting the vm it not showing all the partition mounted on OS level, if i'll execute the fdisk -l command, then i'm able to see the same disk. below is the fdisk output :
# fdisk -l
Disk /dev/sda: 107.6 GB, 107639996416 bytes
255 heads, 63... (1 Reply)
Discussion started by: purushottamaher
1 Replies
LEARN ABOUT CENTOS
systemd-gpt-auto-generator
SYSTEMD-GPT-AUTO-GENERATOR(8) systemd-gpt-auto-generator SYSTEMD-GPT-AUTO-GENERATOR(8)
NAME
systemd-gpt-auto-generator - Generator for automatically discovering and mounting /home as well as discovering and enabling swap
partitions, based on GPT partition type GUIDs.
SYNOPSIS
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator
DESCRIPTION
systemd-gpt-auto-generator is a generator that automatically discovers /home and swap partitions and creates mount and swap units for them,
based on the the partition type GUIDs of GUID partition tables (GPT). Note that this generator will execute no operation on non-GPT
systems, on systems where the units are explicitly configured (for example, listed in fstab(5)) or where the mount point is non-empty.
This generator will only look for partitions on the same physical disk the root file system is stored on. This generator has no effect on
systems where the root file system is distributed on multiple disks, for example via btrfs RAID.
This generator is useful for centralizing file system configuration in the partition table and making manual configuration in /etc/fstab or
suchlike unnecessary.
This generator looks for swap partitions using GPT type 0657fd6d-a4ab-43c4-84e50933c84b4f4f. It looks for /home partitions using GPT type
933ac7e1-2eb4-4f13-b8440e14e2aef915.
systemd-gpt-auto-generator implements the generator specification[1].
SEE ALSO
systemd(1), systemd.mount(5), systemd.swap(5), systemd-efi-boot-generator(8), fstab(5)
NOTES
1. generator specification
http://www.freedesktop.org/wiki/Software/systemd/Generators
systemd 208 SYSTEMD-GPT-AUTO-GENERATOR(8)