Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Problem re-formatting Disk Partition Post 95218 by jimthompson on Monday 9th of January 2006 06:49:56 AM
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 ?
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
DISKTAB(5)						      BSD File Formats Manual							DISKTAB(5)

NAME
disktab -- disk description file SYNOPSIS
#include <disklabel.h> DESCRIPTION
Disktab is a simple database which describes disk geometries and disk partition characteristics. It is used to initialize the disk label on the disk. The format is patterned after the termcap(5) terminal data base. Entries in disktab consist of a number of `:'-separated fields. The first field for each entry gives the names by which a disk's entry may be selected, separated by `|' characters. The last name given should be a long name fully identifying the disk. The optional fields for each entry are: ID Type Description ty str Type of disk (e.g. removable, winchester) dt str Type of controller (e.g. SMD, ESDI, floppy) ns num Number of sectors per track nt num Number of tracks per cylinder nc num Total number of cylinders on the disk sc num Number of sectors per cylinder, ns*nt default su num Number of sectors per unit, sc*nc default se num Sector size in bytes, DEV_BSIZE default sf bool Controller supports bad144-style bad sector forwarding rm num Rotation speed, rpm, 3600 default sk num Sector skew per track, default 0 cs num Sector skew per cylinder, default 0 hs num Headswitch time, usec, default 0 ts num One-cylinder seek time, usec, default 0 il num Sector interleave (n:1), 1 default d[0-4] num Drive-type-dependent parameters bs num Boot block size, default BBSIZE sb num Superblock size, default 0 ba num Block size for partition `a' (bytes) bd num Block size for partition `d' (bytes) be num Block size for partition `e' (bytes) bf num Block size for partition `f' (bytes) bg num Block size for partition `g' (bytes) bh num Block size for partition `h' (bytes) fa num Fragment size for partition `a' (bytes) fd num Fragment size for partition `d' (bytes) fe num Fragment size for partition `e' (bytes) ff num Fragment size for partition `f' (bytes) fg num Fragment size for partition `g' (bytes) fh num Fragment size for partition `h' (bytes) oa num Offset of partition `a' in sectors ob num Offset of partition `b' in sectors oc num Offset of partition `c' in sectors od num Offset of partition `d' in sectors oe num Offset of partition `e' in sectors of num Offset of partition `f' in sectors og num Offset of partition `g' in sectors oh num Offset of partition `h' in sectors pa num Size of partition `a' in sectors pb num Size of partition `b' in sectors pc num Size of partition `c' in sectors pd num Size of partition `d' in sectors pe num Size of partition `e' in sectors pf num Size of partition `f' in sectors pg num Size of partition `g' in sectors ph num Size of partition `h' in sectors ta str Partition type of partition `a' (4.2BSD file system, swap, etc) tb str Partition type of partition `b' tc str Partition type of partition `c' td str Partition type of partition `d' te str Partition type of partition `e' tf str Partition type of partition `f' tg str Partition type of partition `g' th str Partition type of partition `h' FILES
/etc/disktab SEE ALSO
getdiskbyname(3), bsdlabel(8), newfs(8) HISTORY
The disktab description file appeared in 4.2BSD. BSD
October 14, 2006 BSD
All times are GMT -4. The time now is 11:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy