03-15-2007
modify a predefined partition table on Solaris
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 partitions while it has mounted partitions' . What is this mean? How can I go through this? umount file system from current mount point. Please advise. Thanks.
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
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 ... (5 Replies)
Discussion started by: sriny
5 Replies
3. 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
4. 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
5. 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
6. SCO
hi
How can I backup MBR an Partition Table of SCO 5.0.6? (7 Replies)
Discussion started by: ccc
7 Replies
7. Solaris
hi all
while formatting hard disk i am getting following error.
Partition 1 ends at 266338338
It must be between 34 and 143374704.
label error: EFI Labels do not support overlapping partitions
Partition 8 overlaps partition 1.
Warning: error writing EFI.
Label failed.
I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 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. Ubuntu
Memory card partition table got corrupted after unsafe removal.
Is there any possible recovery ?..
If i list using fdisk
fdisk -l
root@ubuntu:/usr/arm-fsl-linux-gnueabi/arm-fsl-linux-gnueabi/multi-libs# fdisk -l /dev/sdc
Disk /dev/sdc: 3965 MB, 3965190144 bytes
122 heads, 62... (2 Replies)
Discussion started by: roonie
2 Replies
10. 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
LEARN ABOUT OSF1
extendfs
extendfs(8) System Manager's Manual extendfs(8)
NAME
extendfs - Extends UFS file systems
SYNOPSIS
/sbin/extendfs [- s] [disk_blocks] device_name
DESCRIPTION
Use the extendfs command to increase the storage space in a UFS file system. The file system must not be mounted when you perform this
operation. To extend a mounted (in use) UFS file system, use the mount command with the -o extend option.
The procedure for increasing the storage space of a UFS file system is as follows: Look at the contents the /etc/fstab file to identify the
disk partition that maps to the file system. Ensure that there is available storage space on the target disk as follows: If LSM is in use
on your system, use LSM commands to increase the size of the LSM volume as described in the Logical Storage Manager guide. If LSM is not
in use on your system, use the disklabel command or the diskconfig graphical user interface to check the current size and use of partitions
on the disk. If there is adequate space on an adjacent partition, use the disklabel command to write the current label to a file as fol-
lows: # disklabel -r dsk4 > d4label Edit the disklabel file to change the size of the partition on which your UFS file system resides.
Increase the number of disk blocks on the partition and decrease the disk block size of the adjacent partition by an equivalent number.
Use the disklabel command with the -R option to write the revised label to the raw disk as follows: # disklabel -R /dev/rdisk/dsk4 d4label
When the disk label is revised, extend the file system using the extendfs command. You can either use the full extent of the newly sized
partition or extend the file system in stages. The following example commands show both methods. To extend the file system to use all the
available space, you specify the disk partition on which the file system resides, as follows: # extendfs /dev/disk/dsk4g To extend the
file system to use only part of the available space, you specify a number of disk blocks, as follows: # extendfs -s 300000 /dev/disk/dsk4g
The remainder of the extended partion is reserved for future use.
You can extend a file system as many times as necessary, up to the physical limit of the storage device. When no more space is available
on the storage device, you must back up the file system using the dump command and restore the file system to a storage device that has
more available space.
Once you have extended a file system, the operation cannot be reversed except by a back up and restore operation. Use the dump command to
back up the file system. You can then reset the partition sizes manually and restore the file system to the storage device.
ERRORS
The disklabel command produces output similar to that of the newfs command. If a list of disk blocks is not displayed on the terminal, the
command has failed. Verify the partition settings and the mount status of the target file system.
The disklabel command does not permit you to overwrite a partition if it is in use. Refer to the disklabel(8) reference page for more
information on label errors.
FILES
Specifies the command path.
RELATED INFORMATION
diskconfig(8), disklabel(8), mount(8), and fstab(4).
extendfs(8)