Sponsored Content
Full Discussion: ufs slices info in solaris
Operating Systems Solaris ufs slices info in solaris Post 302521493 by bartus11 on Wednesday 11th of May 2011 10:42:10 AM
Old 05-11-2011
Code:
prtvtoc /dev/rdsk/cXtXdXs2

This User Gave Thanks to bartus11 For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 8 installation slices

Anyone know if SUN recommends users to install the root parition on 1 single slice or break out the /var , /etc, /opt etc on separate slices? What if i only have a single hdd that is only 2 GB (1 Reply)
Discussion started by: owls
1 Replies

2. UNIX for Dummies Questions & Answers

solaris File system question ( UFS )

Hello all, I'm ufs file system, how can u use the same disk in another machine with the data in tact? to make it clear, I've an ufs FS in a mount point /file1 ( 8GB). now they decide to reintall the OS. After the reinstall, how can i get the same data as it is? will mounting the disk as /file1... (3 Replies)
Discussion started by: i2admin
3 Replies

3. BSD

FreeBSD compatibility with Solaris UFS filesystem?

Hi, I'm new to BSD and would like to create a dual-boot between Solaris Express Community Edition and FreeBSD. I would just like to know if the Solaris UFS file system can be written to by BSD? I know that BSD uses UFS2, but I'm hoping that it is backwards compatible with UFS1 provided that... (0 Replies)
Discussion started by: Johnny SSH
0 Replies

4. Solaris

UFS on solaris 10, compatible with solaris 8?

we have a server runnning solaris 10 (sparc) this server is attached the a SAN (HP EVA) we created 23 LUN's and filled them with data. the we unmounted them and tried to attach the LUN's to a solaris 8 system. this is where thing get strange... when we just mount the LUN's it works... (9 Replies)
Discussion started by: robsonde
9 Replies

5. Solaris

Installing ZFS on an existing Solaris 10 install (UFS)

Hello, I am new to Solaris so i apologize upfront if my questions seem trivial. I am trying to install a ZFS file system on a Solaris 10 machine with UFS already installed on it. I want to run: # zpool create pool_zfs c0t0d0 then: # zfs create pool_zfs/fs My question is more to... (3 Replies)
Discussion started by: mcdef
3 Replies

6. BSD

NetBSD, SPARC, UFS slices

I need to shrink a UFS slice with NetBSD on SPARC. seems the only way is backup+reformat. can someone please give me exact commands for that? presumably backup is file-by-file instead of sector-by-sector, but how to preserve permissions/dates/attributes.. ? thanks. (0 Replies)
Discussion started by: orange47
0 Replies

7. Solaris

Convert root UFS to ZFS on x86 solaris 10/09

Hello All, Good Morning, We are trying to convert the UFS root in to ZFS. Am getting below error. Any one help me out on this ? bash-3.00# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT guru 5.95G 483M 5.48G 7% ONLINE - bash-3.00# zpool create rpool c2t10d0p0... (4 Replies)
Discussion started by: gowthamakanthan
4 Replies

8. Solaris

Deep checking Solaris ufs filesystem

I'm prompted to start this thread following my attempt to help on this thread here (see my posts). I was proposing the OP deep checked a Solaris ufs filesystem using: # fsck -o full <filesystem node> however this option does not appear to be valid on Solaris 10. I've used... (8 Replies)
Discussion started by: hicksd8
8 Replies

9. Solaris

Mounting UFS on Solaris 10 to Solaris 11

I have a Solaris 10 LDOM installed with UFS and another Solaris 11 LDOM with ZFS. I want to mount a folder on Solaris 10 to Solaris 11. I used the following: sudo mount -F ufs 10.1.1.44:/export/home/amandeep/workspace /home/amandeep/workspace/mounts/ldom5 and it errors out with: mount:... (7 Replies)
Discussion started by: amandeepgautam
7 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 08:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy