Creating Filesystems with Openmediavault (Solved)

Hi Guys

Ok it didn’t take me long to to look for help again but I’m stuck at the first hurdle, I’ve posted 2 screenshots of the openmedia web gui the first shows the available physical discs installed on the NAS.

From top to bottom

/dev/sda: Storage drive that has a Windows and Linux partition installed (ntfs)
/dev/sdb: Boot drive (ext4)
/dev/sdc: 2gb USB Pendrive (ext4)
/dev/sdd 2gb USB Pendrive (ext4)

The second screenshot shows the filesystems, as you can see the boot drive and the 2 pendrives have mounted ok,

The problem is the 80 gb hard drive wont allow me to create a volume or mount the volume

when I click on “create” I get a box with a dropdown arrow, to select the drive I want to create, but no drives show up (not even the good drives) so I have no way of formatting the ntfs drive or any drive on the system.

EDIT: If I try to mount the ntfs drive an error box pops up saying " The configuration object is not unique" whatever that means, details show this output.

Error #3005: exception 'OMVException' with message 'The configuration object is not unique' in /var/www/openmediavault/rpc/filesystemmgmt.inc:559 Stack trace: #0 [internal function]: FileSystemMgmtRpc->mount('58707ED2707EB67...') #1 /usr/share/php/openmediavault/rpc.inc(238): call_user_func_array(Array, Array) #2 /usr/share/php/openmediavault/rpc.inc(97): OMVRpc::exec('FileSystemMgmt', 'mount', Array) #3 /var/www/openmediavault/rpc.php(43): OMVJsonRpcServer->handle() #4 {main}

I’m currently downloading peppermint 3 so I can boot the nas with a live disc and re-partition and format the ntfs drive with gparted and see if I can mount it from there, so I thought I would post this while I’m waiting in case someone has a better solution.

Many thanks

Graeme

Can you SSH in?

Hi SeZo

Can you SSH in?

Yes

Then (as root) you could try your hand with parted:

parted /dev/sda

Check the status of the disk with the print command and it will display the data currently held on the partition table.
Note that (parted) is still in the command, so you do not haveto enter that part

(parted) print

then when certain that it is the right drive

(parted) mklabel msdos

to create partition table
Then create a ext4 primary partition to span the disk

(parted) mkpart primary ext4 1 -1

then print the details

(parted) print

then use the quit command to quit parted
After that try the webGui to see if you can manipulate it
One thing might go wrong, if the boot loader is installed onto /dev/sda then this would kill it
But it would be the same with Gparted from a liveCD too
so first check the bootloader

Can you log onto the NAS (ssh or locally) and post the output from:

blkid

There was an error after this command

(parted) mklabel msdos

I’ve posted a screenshot, seems I can’t copy & paste from putty

Thanks

Graeme

Hi Mark

I have the ssh terminal open waiting for an input from me, I don’t know what to do ?

Are you at a normal bash prompt … or are you still at Ignore/Cancel ?

I’ve a sneaking suspicion that you’ve just overwritten the system drive.

Are you at a normal bash prompt .. or are you still at Ignore/Cancel ?

I’ve a sneaking suspicion that you’ve just overwritten the system drive.

Still at ignore/cancel

I don’t think you have much option other than to cancel … cross your fingers … and reboot to see if the system still boots.

It still boots

All’s well :slight_smile:

Thank god for that :slight_smile: … I just panicked for nothing.

Can you post the contents of

cat /etc/fstab

and the output from:

blkid

and

fdisk -l

That was interesting…
Are sure you have installed Openmediavault onto /dev/sdb as you said before?

Yeh, I’m kinda baffled as to what’s where ???

BTW, according the PuTTY FAQ:-
http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-cutpaste

A.6.6 How do I copy and paste between PuTTY and other Windows applications?

Copy and paste works similarly to the X Window System. You use the left mouse button to select text in the PuTTY window. The act of selection automatically copies the text to the clipboard: there is no need to press Ctrl-Ins or Ctrl-C or anything else. In fact, pressing Ctrl-C will send a Ctrl-C character to the other end of your connection (just like it does the rest of the time), which may have unpleasant effects. The only thing you need to do, to copy text to the clipboard, is to select it.

To paste the clipboard contents into a PuTTY window, by default you click the right mouse button. If you have a three-button mouse and are used to X applications, you can configure pasting to be done by the middle button instead, but this is not the default because most Windows users don’t have a middle button at all.

You can also paste by pressing Shift-Ins.

Thank god for that … I just panicked for nothing.

Don’t worry if we screw anything up this is just a test rig, there’s no important data involved here :slight_smile:

I’ve given you the outputs you asked for with screenshots I can’t seem to copy paste in putty and the text is too much to type, hope that’s ok

I only had one drive connected up when I installed OMV which was the 10gb drive, I used the smallest drive I had available because as far as I understand the operating system uses the entire drive, the boot drive can’t be partitioned, but knowing me I could have got things mixed up

Graeme

See my last posting for copy/paste.

If they somehow combined PuTTY with SSL … would it be called SLuTTY ?

Sorry Mark i missed that post :slight_smile:

Just to clarify /dev/sda (80gb) was the original drive in what is now the NAS, it contained a Windows and Linux Partition, I removed that drive and connected a 10gb Drive (sdb) for the Openmediavault OS, I then re-connected the 80gb drive after the installation, that’s how I know openmediavault is installed on the 10gb drive (sdb)

Hope that makes sense

Graeme