mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 01:40:26 +00:00
-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:
@ -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];
|
||||
|
Reference in New Issue
Block a user