-Fix bug where iSCSI would make increasingly small disks for a noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6a92ab207c
commit
5cd9d7a052
@ -114,6 +114,7 @@ sub process_request {
|
||||
%rsp=(name=>[$node]);
|
||||
$lunsize -= 1;
|
||||
my $rc = system("dd if=/dev/zero of=$fileloc bs=1M count=1 seek=$lunsize");
|
||||
$lunsize += 1;
|
||||
if ($rc) {
|
||||
$rsp{error}=["dd process exited with return code $rc"];
|
||||
$rsp{errorcode} = [1];
|
||||
|
Loading…
Reference in New Issue
Block a user