This discussion is archived
1 2 Previous Next 17 Replies Latest reply: Jul 15, 2011 7:29 AM by 874547 Go to original post RSS
  • 15. Re: Failed to run  "ldmp2v prepare"
    874547 Newbie
    Currently Being Moderated
    Hi Menno,Yes!! You are right and thanks for you very much!!
    I used your manifest and ran again, it succeeded!!
    I had two question , why "ldmp2v collect" produced a bad manifset file ?
    and can we resize the source Ultra 60 disk0 from 18gb to 40gb on T5140 ?


    root@T5140 # ldmp2v prepare -d /p2v/u60 U60
    Backend type not specified.
    root@T5140 # ldmp2v prepare -d /p2v/u60 U60
    Creating vdisks ...
    Creating file systems ...
    Populating file systems ...


    root@T5140 # format
    Searching for disks...done


    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> solaris
    /pci@400/pci@0/pci@8/scsi@0/sd@0,0
    1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> solaris
    /pci@400/pci@0/pci@8/scsi@0/sd@1,0
    2. c2d0 <SUN-DiskImage-17GB cyl 491 alt 2 hd 96 sec 768>
    /virtual-devices@100/channel-devices@200/disk@0

    root@T5140 # df -h
    Filesystem size used avail capacity Mounted on
    /dev/dsk/c1t0d0s0 49G 12G 37G 25% /
    /devices 0K 0K 0K 0% /devices
    c
    /dev/dsk/c1t1d0s2 135G 78G 55G 59% /p2v
    /dev/dsk/c1t0d0s7 70G 64M 69G 1% /export/home
    /dev/dsk/c2d0s0 13G 3.3G 9.2G 27% /var/run/ldmp2v/U60
  • 16. Re: Failed to run  "ldmp2v prepare"
    menno Newbie
    Currently Being Moderated
    Your original boot disk has no s2 slice which is expectional since a Solaris boot disk should always have such a slice (covering the whole disk). ldmp2v uses the size of the s2 slice as the disk size it saves in the manifest, so in your case it thinks the disk size is 0. I filed a bug for that (7066460).

    You can change the size of a file system during P2V with the -m option: 'ldmp2v prepare -d /p2v/u60 -m /:40g U60' (you need a valid manifest for this, so it won't cure your missing s2 slice)
  • 17. Re: Failed to run  "ldmp2v prepare"
    874547 Newbie
    Currently Being Moderated
    hi Menno
    Could you teach us why total sectors are "35389440" and what means about c0t0d0s2 ==> "5" , thanks!!

    archive_method flash
    cpu 1
    disk 0 /dev/dsk/c0t0d0 35389440 <==

    ufs 0 / /dev/dsk/c0t0d0s0 26552822 17681384 17415856
    vtoc 0 /dev/dsk/c0t0d0s0 0 2 00 0 26962064 26962063
    vtoc 0 /dev/dsk/c0t0d0s1 1 3 01 26962064 8392072 35354135
    vtoc 0 /dev/dsk/c0t0d0s2 2 5 <=== 00 0 35389440 35389439 <======
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points