Author Topic: Creating Filesystems with Openmediavault (Solved)  (Read 18874 times)

0 Members and 1 Guest are viewing this topic.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2679
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Creating Filesystems with Openmediavault (Solved)
« on: March 07, 2013, 09:29:01 pm »
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.

Quote
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
« Last Edit: March 10, 2013, 04:53:26 pm by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1524
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #1 on: March 07, 2013, 09:40:18 pm »
Can you SSH in?

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2679
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #2 on: March 07, 2013, 09:41:15 pm »
Hi SeZo

Quote
Can you SSH in?

Yes
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1524
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #3 on: March 07, 2013, 10:08:55 pm »
Then (as root) you could try your hand with parted:
Code: [Select]
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
Code: [Select]
(parted) print
then when certain that it is the right drive
Code: [Select]
(parted) mklabel msdos
to create partition table
Then create a ext4 primary partition to span the disk
Code: [Select]
(parted) mkpart primary ext4 1 -1
then print the details
Code: [Select]
(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

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13979
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #4 on: March 07, 2013, 10:18:39 pm »
Can you log onto the NAS (ssh or locally) and post the output from:
Code: [Select]
blkid
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2679
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #5 on: March 07, 2013, 10:19:08 pm »
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
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2679
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #6 on: March 07, 2013, 10:21:25 pm »
Hi Mark

I have the ssh terminal open waiting for an input from me, I don't know what to do ?
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13979
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #7 on: March 07, 2013, 10:29:07 pm »
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.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2679
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #8 on: March 07, 2013, 10:31:35 pm »
Quote
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
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13979
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #9 on: March 07, 2013, 10:33:23 pm »
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.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2679
  • Karma: 54
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #10 on: March 07, 2013, 10:36:12 pm »
It still boots

All's well :)
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13979
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #11 on: March 07, 2013, 10:38:12 pm »
Thank god for that :) .. I just panicked for nothing.

Can you post the contents of

Code: [Select]
cat /etc/fstab

and the output from:
Code: [Select]
blkid
and
Code: [Select]
fdisk -l
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1524
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #12 on: March 07, 2013, 10:40:50 pm »
That was interesting...
Are sure you have installed Openmediavault onto /dev/sdb as you said before?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13979
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #13 on: March 07, 2013, 10:43:54 pm »
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13979
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesysyems with Openmediavault
« Reply #14 on: March 07, 2013, 10:49:58 pm »
BTW, according the PuTTY FAQ:-
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.
« Last Edit: March 07, 2013, 10:52:13 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal