10 More Discussions You Might Find Interesting
1. Solaris
Hello all;
We have a SunFire V240 with three disks that were part of a metadb. One of those disks, the boot disk, experienced a horrible death Monday night and we're now trying to recover from that.
I know very little about metadb stuff, so please be gentle with me...
I'm assuming... (3 Replies)
Discussion started by: Handon
3 Replies
2. Filesystems, Disks and Memory
I would be extremely grateful for any help on the following matter.
Under AIX 5.1 and for years I have been using perfectly well a USB 3.5" disketted drive. But since yesterday, after a power failure disconnected my e-server, I have been unable to use the drive. Whatever <operation> I try to... (0 Replies)
Discussion started by: ahjchr
0 Replies
3. UNIX for Dummies Questions & Answers
hi guys,
i know some commands to check last boot information in solaris and redhat.
#last -10 | grep boot
#who -b
#cat /var/adm/messages | grep signal
but how do i check for boot info in hp-ux other than
from the "shutdownlog"
#last -10| reboot has rebooted my hp-ux server !
... (2 Replies)
Discussion started by: cromohawk
2 Replies
4. AIX
Hey guys,
I've bought a second-hand RS/6000 hardware with freshly installed AIX 5.3 on disk2 and freshly installed AIX 6 on disk1. I'm in possession of the original 5.3 install cds but the AIX 6 installation is just on the disk, I've no install media.
So first after getting the system, I... (3 Replies)
Discussion started by: selzeda
3 Replies
5. SCO
please execuse my english ... i'm from czech republic ...
I have a copy of UnixWare 7.0.1. There is images of boot diskettes on the CD. I used rawrite to create bootdiskettes 1 and 2.
When I boot from disk1, installator will prompt me for language, I choose english, then it wants to insert... (5 Replies)
Discussion started by: bsorter
5 Replies
6. UNIX for Dummies Questions & Answers
I want to upgrade from Red Hat Linux 8.0 to Fedora Core 3. I have already downloaded FC3 on CD's. My current config. on my PC is that I have Win XP on primary hard drive and Red Hat 8.0 on another hard drive. Because my Compaq Presario reserves the first cylinder of my primary hard drive, I... (1 Reply)
Discussion started by: Mark McWilliams
1 Replies
7. Filesystems, Disks and Memory
SuSE 8
Both LILO and GRUB are complaining about not being able to write to the boot sector. Is this definitely a problem with the drive or is there another possible problem? I've checked the BIOS and I don't think the problem is there....it's probably the drive.
Just another Linux user (1 Reply)
Discussion started by: HumanBeanDip
1 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I was wondering if anyone knows how to make a boot sector for Solaris 8. I'm trying to install solaris 8 via the network and I'm get error "files just loaded does not seem to be executable" at the ok propmt. Has anyone encouter this problem before? THANKS advance (1 Reply)
Discussion started by: larry
1 Replies
9. Filesystems, Disks and Memory
Where can I find the boot floppy disk image file(*.vfd)of SCO UNIX 5.0.5?:confused: (1 Reply)
Discussion started by: whiteknight
1 Replies
10. UNIX for Dummies Questions & Answers
I have a ICL DRS3000 Server which runs AT&T SVR4 version 6 unix.
The first boot diskette got damaged. How can I replace this diskette?
Can it be created from another machine running the same Operating system? (1 Reply)
Discussion started by: spice1770
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.11 25 Jul 2002 prtvtoc(1M)