Updates:

Many new features now available including 2-Factor authentication

Creating Filesystems with Openmediavault (Solved)

Started by Emegra, March 07, 2013, 09:29:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Emegra

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.

QuoteError #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

SeZo



Emegra


SeZo

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

Mark Greaves (PCNetSpec)

Can you log onto the NAS (ssh or locally) and post the output from:
blkid
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk


Emegra

There was an error after this command
Quote(parted) mklabel msdos

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


Thanks


Graeme

Emegra

Hi Mark

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

Mark Greaves (PCNetSpec)

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.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

QuoteAre 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


Mark Greaves (PCNetSpec)

I don't think you have much option other than to cancel .. cross your fingers .. and reboot to see if the system still boots.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra


Mark Greaves (PCNetSpec)

Thank god for that :) .. I just panicked for nothing.

Can you post the contents of

cat /etc/fstab

and the output from:
blkid
and
fdisk -l
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

SeZo

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

Mark Greaves (PCNetSpec)

Yeh, I'm kinda baffled as to what's where ???
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Mark Greaves (PCNetSpec)

#14
BTW, according the PuTTY FAQ:-
http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-cutpaste (http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-cutpaste)
Quote
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.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk