Skip to content

Instantly share code, notes, and snippets.

@mflu
Created November 26, 2014 09:32
Show Gist options
  • Save mflu/8aa62e52c7356a391b12 to your computer and use it in GitHub Desktop.
Save mflu/8aa62e52c7356a391b12 to your computer and use it in GitHub Desktop.
ovs setup failed for formatting error
[root@openvstorage]# ovs setup
+++++++++++++++++++++++++++++
+++ Open vStorage Setup +++
+++++++++++++++++++++++++++++
+++ Setting up connections +++
Enter the root password for this node
Password:
+++ Collecting cluster information +++
[127.0.0.1] dbus already running
[127.0.0.1] avahi-daemon already running
No existing Open vStorage clusters are found.
Please enter the cluster name: testcluster
Found exactly one choice: 10.23.73.152
Analyzing cluster layout
+++ Peparing node +++
Exchanging SSH keys
Updating hosts files
Creating filesystems
0 ssd devices: []
13 sata drives: ['/dev/sde', '/dev/sdg', '/dev/sda', '/dev/sdb', '/dev/sdc', '/dev/sdl', '/dev/sdm', '/dev/sdn', '/dev/sdo', '/dev/sdh', '/dev/sdi', '/dev/sdj', '/dev/sdk']
Excluded: set([])
-> bootdisk or part of software RAID configuration
Proposed partition layout:
/mnt/bfs : device : /dev/sdg (4000 GB) label : backendfs percentage : 100
/mnt/cache1 : device : DIR_ONLY
/mnt/db : device : DIR_ONLY
/mnt/md : device : DIR_ONLY
/var/tmp : device : /dev/sde (4000 GB) label : tempfs percentage : 100
Make a choice:
0: Add
1: Remove
2: Update
3: Print
4: Apply
5: Quit
Enter number or name; return for next page
? 4
{'/dev/sdg': 100, '/dev/sde': 100}
Proposed partition layout:
/mnt/bfs : device : /dev/sdg (4000 GB) label : backendfs percentage : 100
/mnt/cache1 : device : DIR_ONLY
/mnt/db : device : DIR_ONLY
/mnt/md : device : DIR_ONLY
/var/tmp : device : /dev/sde (4000 GB) label : tempfs percentage : 100
Please confirm partition layout (yes/no), ALL DATA WILL BE ERASED ON THE DISKS ABOVE!:
? yes
Applying partition layout ...
Fatal error: run() received nonzero return code 1 while executing!
Requested: mkfs.ext4 -q /dev/sdg1 -L backendfs
Executed: /bin/bash -l -c "mkfs.ext4 -q /dev/sdg1 -L backendfs"
======================================================================= Standard output =======================================================================
/dev/sdg1 is apparently in use by the system; will not make a filesystem here!
===============================================================================================================================================================
Aborting.
You have new mail in /var/spool/mail/root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment