You've already forked mariadb-columnstore-engine
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:
@ -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
|
||||
|
Reference in New Issue
Block a user