Problem re-formatting Disk Partition


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem re-formatting Disk Partition
# 1  
Old 01-09-2006
Problem re-formatting Disk Partition

I have a disk formatted as follows.

Part Flag Tag Cylinders Size
===================================================
0 wm root 0 - 38125 26.18 Gb
1 wu swap 38126 - 49776 8 Gb
2 wm backup 0 - 49779 34.18 Gb
3 wm unassigned
4 wm unassigned
5 wm unassigned
6 wm unassigned
7 wm home 49777- 49779 2.11 Mb

Note none of the above slices have been mounted nor do they contain any data.

First question - what is the significance of the Tag's ? What does the root, backup and home tags signify ?

I want to reorganise the slices as such

Part Flag Tag Cylinders Size
=================================================
0 wm usr 0 - 38108 26.17 Gb
1 wu swap 38126 - 49776 8 Gb
2 wm backup 0 - 49779 34.18 Gb
3 wm unassigned 0 0
4 wm unassigned 0 0
5 wm unassigned 0 0
6 wm usr 38109 - 38125 11.95 Mb
7 wm home 49777- 49779 2.11 Mb

i.e. basically create Slice 6 with a bit of space previously belonging to Slice 7

I save the partition mapping. However when I try to recreate the filesystems for slices 6 & 7 ( using newfs /dev/rdsk/c0t1d0s6 and c0t1d0s7 ), Slice 7 completes ok but for Slice 6, I get the following :

warning inode blocks/cyl group (134) >= data blocks (90) in last cylinder group. This implies 1440 sector(s) cannot be allocated
/dev/rdsk/c0t1d0s6: 23040 sectors in 16 cylinders of 2 tracks

Even when I reorganise the entire disk to have contiguous use of Cylinders i.e.

Part Flag Tag Cylinders Size
==================================================
0 wm usr 0 - 38108 26.17 Gb
1 wm unassigned 0 0
2 wm backup 0 - 49779 34.18 Gb
3 wm unassigned 0 0
4 wm unassigned 0 0
5 wm unassigned 0 0
6 wm usr 38109 - 38125 11.95 Mb
7 wu swap 38126 - 49776 8Gb

and then use newfs to recreate the file system for Slices 6 & 7. Again the FS for Slice 7 creates ok but for Slice 6 I get the same error as before

warning inode blocks/cyl group (134) >= data blocks (90) in last cylinder group. This implies 1440 sector(s) cannot be allocated
/dev/rdsk/c0t0d0s6: 23040 sectors in 16 cylinders of 2 tracks, 720 sectors
11.2 MB in 1 cyl groups ( 16 c/g 11.25Mb/g, 5540 i/g )
Super-block backups ( for fsck -F ufs -o b=# ) at : 32,

Also When I use the MODIFY partition option under the FORMAT command, I get the warning :

Warning: overlapping partition (6) in table

I don't understand this, since clearly from my mappings above, the cylinders are not overlapping ?

Any idea of what is going on ?
# 2  
Old 01-11-2006
Assuming you are using Solaris, after you change the partitions in format, do you label it before quitting out of format? It may be keeping some of the old info along with the new - only explaination I can think of.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to partition your disk?

Hello, I am a new member of the forum. I need an idea on how to partition the disk. My situation is as follows: I have two 3TB disks ognuno.In 6TB total then, but I have to do to force a RAID 1 so my space will be 3TB. I'll have to force install RedHat 5.8 and liquids is to be taken in... (4 Replies)
Discussion started by: Joaquin
4 Replies

2. Red Hat

Disk Partition : Skip 1 MB

I want to skip the first cylinder (first 1 MB infact) while I partition my disk using fdisk as it is required that the disk partition to be used (for Oracle RAC Installation) must skip the first 1Mb to avoid overwriting the disk VTOC. The way I am using is: Command (m for help): n Command... (2 Replies)
Discussion started by: jpsingh
2 Replies

3. UNIX for Advanced & Expert Users

Shrink my partition to new disk

I want to backup my partitions by shrinking it my issue is like I want to create a new disk copy from only the used blocks I my current image. How would I redirect the output of resize2fs to new disk and dd the current partition so that I can boot my new image without issues and also without... (3 Replies)
Discussion started by: amol28kulkarni
3 Replies

4. Filesystems, Disks and Memory

Partition disk

Hi, Can I partition disk in use or would I damage the file store on it? Regards Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies

5. Solaris

Help: root partition crashed, fsck failed. Disk problem?

recently this sunfire 280R (solaris 10) is having problme, it was able to boot up, then all suddent, it failed, and I can't even mount the first disk which contains root partition when I boot up from cdrom. 2 X 36G hard drive, I scan first hard drive by "read", there is no bad block. The... (2 Replies)
Discussion started by: steeles
2 Replies

6. UNIX for Advanced & Expert Users

Hard-disk partition is Full problem?

HI, Currently I am working in One of the webhosting company and I found on one of my server "/home" partition is getting full say 105% usage... But when I actually check the partition size using "du -h", exact partition utilization is only 60-70%. So... (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

7. Solaris

Disk Partition

I have 3 disks to partition in following file system. c1t1d0 = 72gb /prod1 /prod2 /prod3 /prod4 /prod5 I am first time using "format" command to do this. How can i name with specified size. -Adeel (1 Reply)
Discussion started by: deal732
1 Replies

8. Solaris

New disk - how to partition?

Have a solaris x86 running solaris 9. Root disk - logical - mirrored. I added 2 more disks today - and I have mirrored them using array configuration utility. I did a reconfiguration boot - and now I can see the logical disk using format: I then partitioned this the way I wanted (I hope)... (4 Replies)
Discussion started by: frustrated1
4 Replies

9. UNIX for Dummies Questions & Answers

Disk Partition

Hi All, While my LINUX SERVER installed we didnt' used all the space for partitions. with what tool I can create a new partition or mount point to use the free space. I tried the command fdisk and diskdruid. They are not working. Thanks in advance With Best regards, Varma. (2 Replies)
Discussion started by: jarkvarma
2 Replies

10. UNIX for Dummies Questions & Answers

partition Magic disk

How do I get a partition magic disk or a disk to create a non-DOS partition? :*: c0ldzer0 :*: (4 Replies)
Discussion started by: c0ldzer0
4 Replies
Login or Register to Ask a Question