fmthard showing error with prtvtoc


 
Thread Tools Search this Thread
Operating Systems Solaris fmthard showing error with prtvtoc
# 1  
Old 01-17-2009
fmthard showing error with prtvtoc

Hi all,

I am trying to use the disk for mirror where in the mirror disk is of 160 gb and the rootdisk is of 80 gb. when i am trying to write the vtoc i am getting below error

i tried the below command

#prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s -/dev/rdsk/c0t2d0s0

and got below

fmthard : Partition 2 specifies the full disk and its not equal
full size of disk. the full disk capacity is 267374640 sectors

what can be done apart from manually slicing the second disk

Thanks

Last edited by kumarmani; 01-17-2009 at 02:24 PM..
# 2  
Old 01-17-2009
Post the output of prtvtoc for both disks. Also do you want to simply ignore the send half of the second disk...that it pretend that it is 80 GB?
# 3  
Old 01-17-2009
Please find the output of prtvtoc

Please find the output of prtvtoc

Quote:
Code:
#prtvtoc /dev/rdsk/c0t0d0s0
*/dev/rdsk/c0t0d0s0 partition map
*
*Dimensions:
*  512 bytes/sector
*  255 sectors/track
*  16 tracks/cylinder
*  4080 cylinders
* 38309 cylinders
* 38307 accessible cylinders
*
* Flags:
*   1: unmountable
*  10:read-only
*
*Unallocated space:
*  First         Sector      Last
*  Sector      Count      Sector 
* 55471680     100820880   156292559
*
*
*Partition Tag Flags Sector   Count     Sector Mount Directory 
     0      2  00    1056720 12362400  13419119 /
     1      3  01    0       1056720   1056720
     2      5  00    0       156292560 156292560
     6      0  00  55365600  106080 55471679    
     7      8  00  13419120  4194480 55365599  /export/home

Second Disk

Quote:
#prtvtoc /dev/rdsk/c0t0d0s0
*/dev/rdsk/c0t0d0s0 partition map
*
*Dimensions:
* 512 bytes/sector
* 255 sectors/track
* 16 tracks/cylinder
* 4080 cylinders
* 65535 cylinders
* 65533 accessible cylinders
*
* Flags:
* 1: unmountable
* 10:read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
* 0 0 00 0 267374640 267374639
* 2 5 01 0 267374640 267374640
# 4  
Old 01-17-2009
you can try this? Smilie
#prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s - /dev/rdsk/c0t2d0s0
# 5  
Old 01-17-2009
That's i what i tried, however no luck

Quote:
#prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s - /dev/rdsk/c0t2d0s0
# 6  
Old 01-17-2009
Did you label your 2nd disk first?
# 7  
Old 01-17-2009
No i did't, as there is nothing
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Copied prtvtoc to original disk

Hi, It is Solaris-10 with ZFS. c0t1d0 is original disk. c0t0d0 was faulty disk, which was replaced with new one and by mistake somebody ran opposite command # prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0 Now rpool is in suspended state. Right now server is up, but allowing ssh... (6 Replies)
Discussion started by: solaris_1977
6 Replies

2. Solaris

Prtvtoc not working

Hi, I am trying to mirror a disk (which was already mirror and after breaking it, doing it again). This is root disk and in control of veritas. Somehow, slice information is not coming correctly on this. Can somebody give some pointer to fix it ? root@tdrp091:/root# prtvtoc /dev/rdsk/c3t0d0s2 |... (6 Replies)
Discussion started by: solaris_1977
6 Replies

3. Shell Programming and Scripting

Showing error

if ; then rm -rf "${x}"_"${y}"_abc_pqr.dat error: `then' unmatchedCan anyone please help me in correcting it. Please use code tags next time for your code and data. Thanks (2 Replies)
Discussion started by: D_Sethi
2 Replies

4. Solaris

fmthard error

Hello, I have a X86 server (solaris 10) with 4 similar disks. One of these 4 disks is the root disk. I need to create a mirror disk to the root disk and two hot spares using the remaining 3 disks. However, when I use the fmthard commad, I am getting the below error: root@xxxxxxxx>prtvtoc... (5 Replies)
Discussion started by: mystition
5 Replies

5. Shell Programming and Scripting

command showing error

Hi, I have an command which find the files modified within last 8 days and then after selecting the files from the location it make the tar format and send it to the specified destination ...now I want that this task to be automative ..that is it should happen after every 5 minutes ...for that... (3 Replies)
Discussion started by: NARESH SAXENA
3 Replies

6. Solaris

Output from prtvtoc

Hi All, when i run the command prtvtoc the output shows 38309 cylinders 38307 accessible cylinders as per my undertanding the 1st cylinder is used for storing the vtoc , how about the second cylinder ? where its used and for what purpose? Thanks (9 Replies)
Discussion started by: kumarmani
9 Replies

7. HP-UX

Error alert keep showing at console

Hi, I would like to ask for your help. I tried to log in through console to my server HP-UX 10.20 but I keep receiving error message as below: Vxfs: mesg 001: vx_nospace -/dev/vg02/lvol6 file system full Vxfs: mesg 001: vx_nospace - /dev/vg02/lvol9 file system full How should I stop this... (4 Replies)
Discussion started by: yeazas
4 Replies

8. Solaris

prtvtoc command

If i have diks layout like below 0 root wm 0 - 634 471.29MB (635/0/0) 965200 1 var wm 635 - 2014 1.00GB (1380/0/0) 2097600 2 backup wm 0 - 2732 1.98GB (2733/0/0) 4154160 3 swap wu 2015 - 2704 ... (1 Reply)
Discussion started by: tpx99
1 Replies

9. Solaris

mailx -s is showing an error

Error is like /users/d12381/check.sh: mail_sysadmin@mycompany: not found Plz help me to sort out this issue (6 Replies)
Discussion started by: Renjesh
6 Replies

10. Solaris

Interface not showing : Xview error

Hi I'm having a big trouble running a configuration tool (ftamtool) which uses xview on sunos 5.8, it refuses to start and says: XView error: could not load font 'FONT_FAMILY_SANS_SERIF... How to force the program to use installed fonts and where are fonts installed available to use ? ... (0 Replies)
Discussion started by: andryk
0 Replies
Login or Register to Ask a Question