Sponsored Content
Full Discussion: resize harddisk partions
Special Forums Hardware Filesystems, Disks and Memory resize harddisk partions Post 302292060 by frozentin on Thursday 26th of February 2009 07:54:13 PM
Old 02-26-2009
What is the current FS/partition layout?

Show o/p from:
[1] df -k /
[2] df -k /opt
[3] prtvtoc /dev/rdsk/<boot-disk>
[4] prtvtoc /dev/rdsk/</opt disk>

Also, let us know whether you are using any volume manager products.

Last edited by frozentin; 02-26-2009 at 08:57 PM.. Reason: typo in prtvtoc
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

clone harddisk

Hi, i have to make an excect physical copie of a sun unix station harddisk. I have to make all partitions the same on about 60 harddisks, and also they should contain the same data/info. I have hade a look at commands 'DD' and 'UFSDUMP' but both of them are not sufficient enough. Can... (5 Replies)
Discussion started by: dirk2
5 Replies

2. UNIX for Dummies Questions & Answers

server harddisk upgrade

hi friends, one of my clnts wants his Hard drive to be ugrded . He is currently using SCO unix 5.04 on a 4.3 Gig SCSI drive. He wants me to upgrd it to 18 Gigs . All he wants is that the data / programs / userfiles shall be intact. he has 3 user slices /user1, /user2 , /user3 presently... (3 Replies)
Discussion started by: /etc/passwd
3 Replies

3. HP-UX

partions

How to create a new partion in new disk (1 Reply)
Discussion started by: arunachalam
1 Replies

4. UNIX for Dummies Questions & Answers

SCSI Harddisk

hey guys this is my problem I have SCO unix installed on a IDE h/drive. I want to add a SCSI hard drive, how do i do that within UNIX (1 Reply)
Discussion started by: kwame.neilsen
1 Replies

5. Solaris

SunOS 5.6 vs 5.8 HardDisk

Hi all, I am not sure I am in the correct forum or not, but I would appreciate if somebody from here can help me out. My processing equipment currently is using Unltra5 SunOs 5.6 with 8.6 GB hard disk, newer UltraSPARC SunOS 5.8 is with higher hard disk capacity. I am wondering how much hard... (2 Replies)
Discussion started by: uvex
2 Replies

6. UNIX for Advanced & Expert Users

Harddisk partation problem

Hello! My harddisk is RZ1CB-CS SCSIWC.It runs radar application software on unix operating system.Now dev\rz0a partation not found.So it can't run application recorded at rz0a .How can i solve this problem.? (1 Reply)
Discussion started by: akzin
1 Replies

7. UNIX for Advanced & Expert Users

Harddisk partation problem

Hello! My harddisk is RZ1CB-CS SCSIWC.It runs radar application software on unix operating system.Now dev\rz0a partation not found.So it can't run application recorded at rz0a .How can i solve this problem.? (1 Reply)
Discussion started by: akzin
1 Replies

8. Solaris

Image from harddisk

Can i take image from all data in SCSI hard-disk which work in foxboro workstation and extract it again on another hard disk ?:b: thanks (4 Replies)
Discussion started by: hatemeid
4 Replies

9. Ubuntu

Problem mounting harddisk

Hi all I am having a great deal of trouble mounting a harddisk on my Ubuntu 9.10 desktop. Output from "fdisk -l": Disk /dev/sda: 640.1 GB, 640135028736 bytes 86 heads, 15 sectors/track, 969196 cylinders Units = cylinders of 1290 * 512 = 660480 bytes Disk identifier: 0x00000001 ... (5 Replies)
Discussion started by: jnymarkp
5 Replies

10. AIX

Can AIX be installed on a USB Harddisk

Hi, I have a USB harddisk (USB-SATA to SATA Harddisk). Is it possible to install AIX on this either from fresh install or using mksysb facility, get it to boot from USB? Was thinking along the line like LInux where you can install and boot a working OS from USB with tools like unetbootin or... (1 Reply)
Discussion started by: meng
1 Replies
prtvtoc(1M)                                               System Administration Commands                                               prtvtoc(1M)

NAME
prtvtoc - report information about a disk geometry and partitioning SYNOPSIS
prtvtoc [-fhs] [-t vfstab] [-m mnttab] device DESCRIPTION
The prtvtoc command allows the contents of the label to be viewed. The command can be used only by the super-user. The device name can be the file name of a raw device in the form of /dev/rdsk/c?t?d?s2 or can be the file name of a block device in the form of /dev/dsk/c?t?d?s2. OPTIONS
The following options are supported: -f Report on the disk free space, including the starting block address of the free space, number of blocks, and unused parti- tions. -h Omit the headers from the normal output. -m mnttab Use mnttab as the list of mounted filesystems, in place of /etc/mnttab. -s Omit all headers but the column header from the normal output. -t vfstab Use vfstab as the list of filesystem defaults, in place of /etc/vfstab. EXAMPLES
Example 1: Using the prtvtoc Command The following example uses the prtvtoc command on a 424-megabyte hard disk: example# prtvtoc /dev/rdsk/c0t3d0s2 * /dev/rdsk/c0t3d0s2 partition map * * Dimension: * 512 bytes/sector * 80 sectors/track * 9 tracks/cylinder * 720 sectors/cylinder * 2500 cylinders * 1151 accessible cylinders * * Flags: * 1: unmountable * 10: read-only * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 2 00 0 76320 76319 / 1 3 01 76320 132480 208799 2 5 00 0 828720 828719 5 6 00 208800 131760 340559 /opt 6 4 00 340560 447120 787679 /usr 7 8 00 787680 41040 828719 /export/home example# The data in the Tag column above indicates the type of partition, as follows: Name Number UNASSIGNED 0x00 BOOT 0x01 ROOT 0x02 SWAP 0x03 USR 0x04 BACKUP 0x05 STAND 0x06 VAR 0x07 HOME 0x08 ALTSCTR 0x09 CACHE 0x0a RESERVED 0x0b The data in the Flags column above indicates how the partition is to be mounted, as follows: Name Number MOUNTABLE, READ AND WRITE 0x00 NOT MOUNTABLE 0x01 MOUNTABLE, READ ONLY 0x10 Example 2: Using the prtvtoc Command with the -f Option The following example uses the prtvtoc command with the -f option on a 424-megabyte hard disk: example# prtvtoc -f /dev/rdsk/c0t3d0s2 FREE_START=0 FREE_SIZE=0 FREE_COUNT=0 FREE_PART=34 Example 3: Using the prtvtoc Command on a Disk Over One Terabyte The following example uses uses the prtvtoc command on a disk over one terabyte:. example# prtvtoc /dev/rdsk/c1t1d0s2 * /dev/rdsk/c1t1d0s2 partition map * * Dimensions: * 512 bytes/sector * 3187630080 sectors * 3187630013 accessible sectors * * Flags: * 1: unmountable * 10: read-only * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 2 00 34 262144 262177 1 3 01 262178 262144 524321 6 4 00 524322 3187089340 3187613661 8 11 00 3187613662 16384 318763004 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
devinfo(1M), fmthard(1M), format(1M), mount(1M), attributes(5) WARNINGS
The mount command does not check the "not mountable" bit. SunOS 5.10 25 Jul 2002 prtvtoc(1M)
All times are GMT -4. The time now is 02:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy