]> git.proxmox.com Git - pve-installer.git/commitdiff
do not use /dev/disk/by-id/ because of strange errors
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 14 Jan 2015 08:38:31 +0000 (09:38 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 14 Jan 2015 08:38:31 +0000 (09:38 +0100)
proxinstall

index d7c57c54f2d6c656b755baabc6d5a33d8fb21030..49193d2aaf20dbeb2659381801f848a59fc88d9a 100755 (executable)
@@ -616,7 +616,11 @@ sub diversion_remove {
 sub zfs_create_rpool {
     my ($zfspoolname, $targetdev) = @_;
 
-    my $full_path =find_stable_path ("/dev/disk/by-id", $targetdev) || $targetdev;
+    # Note: using /dev/disk/by-id/ does not work for unknown reason, we get
+    # cannot create 'rpool': no such pool or dataset
+    # my $full_path = find_stable_path ("/dev/disk/by-id", $targetdev) || $targetdev;
+
+    my $full_path = $targetdev;
    
     syscmd ("zpool create -f -o ashift=12 $zfspoolname ${full_path}") == 0 ||
        die "unable to create zfs root pool\n";