1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-520 - mkfs testing amazon

This commit is contained in:
David Hill
2018-10-30 10:38:13 -05:00
parent 9a169e2395
commit 8847a2fade

View File

@ -6506,10 +6506,10 @@ void Oam::addUMdisk(const int moduleID, std::string& volumeName, std::string& de
user = getuid();
if ( user == 0 )
cmd = "mkfs.ext2 -F " + device + " > /dev/null 2>&1";
cmd = "mkfs.ext2 -F " + device + " > " + tmpdir + "/format.log 2>&1";
else
cmd = "sudo mkfs.ext2 -F " + device + " > /dev/null 2>&1";
cmd = "sudo mkfs.ext2 -F " + device + " > " + tmpdir + "/format.log 2>&1";
cout << "1 " << cmd << endl;
system(cmd.c_str());
//detach volume
@ -6762,6 +6762,7 @@ void Oam::addDbroot(const int dbrootNumber, DBRootConfigList& dbrootlist, string
writeLog("addDbroot format cmd: " + cmd, LOG_TYPE_DEBUG );
cout << "1 " << cmd << endl;
system(cmd.c_str());
//detach