Dnia 6 maja 2011 4:52 Steven Shiau <[email protected]> napisał(a):
> Hi,
> Does this issue only exist on disk_to_remote_disk? Or it exist on
> disk_to_local_disk, too?
>
> Steven.
>
> On 2011/5/2 下午 08:17, lakiluk wrote:
> > HARDWARE: HP ProLiant DL 380 G3 with RAID Controller HP SmartArray 5i
> > and HP ProLiant DL 380 G7 with RAID Controller HP SmartArray
> > P410i
> > CLONEZILLA: clonezilla-live-1.2.8-23-i686 and clonezilla-live-20110429-natty
> >
> > Hello and thanx for creating CloneZilla.
> >
> > As I read on http://clonezilla.org/news.php in latest version in section
> > "BUG FIXES"
> > "* A bug where ocs-get-part-info failed to remove a temp file in /tmp was
> > fixed."
> >
> >
> > In my case i try to copy disk 72 GB from HP ProLiant DL 380 G3 (UltraSCSI)
> > to HP ProLiant DL 380 G5 (SAS) in way "device-device, disk_to_remote_disk"
> > and I have 2 problems:
> > 1. The file src_partition.info on source host and tgt_partition.info on
> > target host are missing
> > "grep: /tmp/ocs_onthefly_tgt.xxxxxx/tgt_partition.info: No such file or
> > directory"
> > (I used ocs-get-part-info and with little modification I have the proper
> > file with partitions)
> >
> > 2. After creating partition on target host a experienced "The grub
> > directory is NOT found. Maybe it does not exist (so other boot manager
> > exists) or the file system is not supported in the kernel. Skip running
> > grub-install." (The fdisk -l shows me correct data on both disks, in column
> > "Blocks")
> >
> >
> > Is this known problem (there is a lot posts and messages of RAIDs on HP
> > servers - /dev/cciss) or workaround exists?
> >
> > I've made test on the same server but on source I've mounted small USB disk
> > and sucessfully made copy in the same way as mentioned above to target
> > machine.
> >
I set
source_hd=cciss/c0d0p
which is badly recognized (I think)
so the script in section:
part_in_hd="$(LC_ALL=C grep -Eo "$source_hd[[:digit:]]+" /proc/partitions)"
for part in $part_in_hd; do
echo "Collecting partition /dev/$part info..."
filesystem="$(LC_ALL=C ocs-get-part-info /dev/$part filesystem)"
pt_size="$(LC_ALL=C ocs-get-part-info /dev/$part size)"
if [ -n "$filesystem" ]; then
# If filesystem is empty (e.g. Extended partitoin, parted will show it as
empty), skip this.
echo "/dev/$part $filesystem $pt_size" >> $src_pt_info
fi
done
produced:
/dev/cciss/c0d0p1 ext3
/dev/cciss/c0d0p2 ext3
/dev/cciss/c0d0p3 ext3
/dev/cciss/c0d0p5 swap
/dev/cciss/c0d0p6 ext3
On the system:
#root@natty:~# cat /proc/partitions
#major minor #blocks name
#
# 7 0 124404 loop0
# 104 0 71126640 cciss/c0d0
# 104 1 4192933 cciss/c0d0p1
# 104 2 8385930 cciss/c0d0p2
# 104 3 8385930 cciss/c0d0p3
# 104 4 1 cciss/c0d0p4
# 104 5 2096451 cciss/c0d0p5
# 104 6 48058416 cciss/c0d0p6
#root@natty:~# LC_ALL=C grep -Eo "cciss/c0d0p[[:digit:]]+" /proc/partitions
#cciss/c0d0p1
#cciss/c0d0p2
#cciss/c0d0p3
#cciss/c0d0p4
#cciss/c0d0p5
#cciss/c0d0p6
#root@natty:~#
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Clonezilla-live mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clonezilla-live