Quantcast
Channel: Rockstor Community Forum - Latest topics
Viewing all 1920 articles
Browse latest View live

Stuck in read-only after drive failure (raid6, drive didn't fail)

$
0
0

@Joey wrote:

Yesterday I got an e-mail from my Rockstor server that one of my drives had failed. The drive showed inside the Rockstor UI as inactive/dead. I pulled the drive from the system and used SeaTools diagnostics, there seemed to be no problems with it whatsoever. After putting the drive back in the server it showed up in the Rockstor UI again just fine, as though nothing had happened. I rebooted the system and everything seemed OK, no errors and all drives present. However the btrfs volume was mounted as read only.

Trying to remount them as read/write gives an error "Remounting read-write after error is not allowed". I have no clue how to continue from here. All drives are present and have the same /dev/sd* number as they had before the drive failure. Rebooting the system doesn't work, nor does trying to mount it with -o rw,recovery. It will only mount in read-only state.

Posts: 1

Participants: 1

Read full topic


Export not pointing to share after boot

$
0
0

@forbrich wrote:

Had several pools (Raid 1, pairs of 3TB drives) set up to service my VM dev environment as NFS shares. Shut down the Rockstor for vacation. After booting up, the 'exports' showed up as empty disk on the machine trying to mount the drives. (Symptoms similar to https://forum.rockstor.com/t/somethings-broken-the-mounts/2241)

Drives are still visible, and the pools are intact. Using the UI (3.8.15-0) and shares look OK. Created a test share and it was created as /mnt2/test and points to the pool correctly.

However, the /etc/exports contains

/export/test 192.168.1.*(rw,async,insecure) 192.168.1.7(rw,no_root_squash)

which points to a straight directory on /export and not to the /mnt2/test, nor as a link to /mnt2/test As a result, the root file system is mounted instead of the /mnt2/test file system.

Looking for suggestions to resolve this in the short term (for example, edit /etc/exports or add a special link) as well as long term. I'm hesitant to 'play' with the mounts in case there are some side effects of which I am not aware.

/Hans

Posts: 1

Participants: 1

Read full topic

Failed to start samba due to a system error: Error running a command. cmd

$
0
0

@jdeluna12 wrote:

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the pr

cant turn samba on

Detailed step by step instructions to reproduce the problem

[write here]

Web-UI screenshot

[Drag and drop the image here]

Error Traceback provided on the Web-UI

        Traceback (most recent call last):

File "/opt/rockstor/src/rockstor/smart_manager/views/samba_service.py", line 77, in post
systemctl('nmb', command)
File "/opt/rockstor/src/rockstor/system/services.py", line 63, in systemctl
return run_command([SYSTEMCTL_BIN, switch, service_name])
File "/opt/rockstor/src/rockstor/system/osi.py", line 98, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = ['/usr/bin/systemctl', 'start', 'nmb']. rc = 1. stdout = ['']. stderr = ['Job for nmb.service failed because the control process exited with error code. See "systemctl status nmb.service" and "journalctl -xe" for details.', '']

Posts: 1

Participants: 1

Read full topic

Announcing Rockstor 3.8.15

$
0
0

@suman wrote:

Hello Everyone!

Rockstor 3.8.15
is now available! This may not be news to some of you as the update has been out since late last week, but certain post release tasks took a little longer and hence this delayed announcement.

@Flyer did a great job by contributing several improvements. @phillxnet's refactoring of disk management is an important improvement, thank you for precisely and thoroughly improving a critical component. Last but not least, @sfranzen, @ganti_priya, @grebnek and @Tomasz_Kusmierz made valuable contributions and making this 43 issue release possible. Thank you all!

If you are interested in more details, please read the dev log.

There are already enough pull requests in the queue to start the next release right away, so stay tuned for that. Finally, please support our effort by subscribing to stable updates. Here's a discount code for first 25 subscribers. ROCKSTOR3815. Also, we'd love to sell you Rockstor gear. Please head over to the shop!

Posts: 6

Participants: 3

Read full topic

Error creating new snapshots

$
0
0

@Jules wrote:

Hi,

I have upgraded my Rockstor Storage to version 3.8.15 and now the Gui give me an error when I click to create a new snapshot (read only and set "visible"). Error:

Houston, we've had a problem.
writable must be a boolean, not

        Traceback (most recent call last):

File "/opt/rockstor/eggs/gunicorn-0.16.1-py2.7.egg/gunicorn/workers/sync.py", line 34, in run
client, addr = self.socket.accept()
File "/usr/lib64/python2.7/socket.py", line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
=================================

I do a Clean install of the new version of RockStor, import the discs and the problem continues.

Thanks for help.

Best Regards

Jules

Posts: 1

Participants: 1

Read full topic

Error on VMWare Install

$
0
0

@Christopher_Nicol wrote:

Trying to install Rockstor to evaluate it on a VMWare box. After installation when I go to the web config I get the following when scanning for drives.

        Traceback (most recent call last):

File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in handleexception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 272, in post
return self.updatedisk_state()
File "/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/transaction.py", line 371, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 218, in updatedisk_state
p.uuid = btrfs_uuid(dob.name)
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 919, in btrfs_uuid
[BTRFS, 'filesystem', 'show', '/dev/disk/by-id/%s' % disk])
File "/opt/rockstor/src/rockstor/system/osi.py", line 104, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = ['/sbin/btrfs', 'filesystem', 'show', '/dev/disk/by-id/sda3']. rc = 1. stdout = ['']. stderr = ['']

No drives appear. I created 4 drives in the virtual machine. Any help would be appreciated.

Thanks,

Chris

Posts: 2

Participants: 2

Read full topic

Error running a command. cmd ['/sbin/btrfs', 'filesystem', 'show', '/dev/disk/by-id/sda3']

$
0
0

@dison4linux wrote:

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

Error message encountered after initial installation.

Detailed step by step instructions to reproduce the problem

Access GUI for the first time and complete initial wizard, or scan for disks after logging in.

Web-UI screenshot

Error Traceback provided on the Web-UI

        Traceback (most recent call last):

File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in handleexception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 272, in post
return self.updatedisk_state()
File "/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/transaction.py", line 371, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 218, in updatedisk_state
p.uuid = btrfs_uuid(dob.name)
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 919, in btrfs_uuid
[BTRFS, 'filesystem', 'show', '/dev/disk/by-id/%s' % disk])
File "/opt/rockstor/src/rockstor/system/osi.py", line 104, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = ['/sbin/btrfs', 'filesystem', 'show', '/dev/disk/by-id/sda3']. rc = 1. stdout = ['']. stderr = ['']

Posts: 3

Participants: 2

Read full topic

Dev log for 3.8.16

$
0
0

@suman wrote:

Hello Everyone!

Thanks for many contributions and high engagement, 3.8.15 was a successful release. I am excited to see so many pull requests in the queue. So, without any unnecessary delay, let's jump in and start the 3.8.16 cycle!

3.8.15-1 is now available with two updates. Pool usage reporting is improved by @sfranzen and a small bugfix in snapshot UI by @Flyer. Thank you guys! I plan to merge your other requests as soon as possible.

Posts: 2

Participants: 1

Read full topic


Setting interface to manual is not possible "'NoneType' object has no attribute 'name'"

$
0
0

@Tomasz_Kusmierz wrote:

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

A attempt to set a interface IP to manual results in an error.

Detailed step by step instructions to reproduce the problem

set it to manual :slight_smile:

Web-UI screenshot

Error Traceback provided on the Web-UI

            Traceback (most recent call last):

File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in handleexception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/network.py", line 296, in put
device = nco.networkdevice_set.first().name
AttributeError: 'NoneType' object has no attribute 'name'

Posts: 5

Participants: 2

Read full topic

Failed to mount Docker root (/mnt2/rockon-root). Share matching query does not exist

$
0
0

@DH4 wrote:

I had a drive in my primary stoarge pool fail this week, and have ordered a replacement. I found that the BTRFS pool was not mounting automatically at boot time. Following the wiki i was able to get the pool mounted in degraded mode. But docker will still not mount the rockon share. Is there anything I can do to get the share mounted while I wait for the replacement drive to get here? I also noticed the Rockstor Web UI is not detecting any of the shares on the pool.

root@ohcc-server-01 mnt2]# btrfs fi show
Label: 'rockstor_rockstor'  uuid: 6c649e6a-8780-4517-ac27-b636049acbaa
	Total devices 1 FS bytes used 3.02GiB
	devid    1 size 83.35GiB used 7.10GiB path /dev/sda3

warning, device 3 is missing
Label: 'pool'  uuid: 78410f4a-416b-4bf1-bb98-d840d2c07f1d
	Total devices 4 FS bytes used 409.18GiB
	devid    1 size 465.76GiB used 206.56GiB path /dev/sdb
	devid    2 size 465.76GiB used 206.56GiB path /dev/sdc
	devid    4 size 465.76GiB used 206.56GiB path /dev/sde
	*** Some devices missing

[root@ohcc-server-01 mnt2]# mount -o degraded /dev/sdb /mnt2/pool
[root@ohcc-server-01 mnt2]# systemctl start docker
[root@ohcc-server-01 mnt2]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2016-11-10 14:23:03 CST; 6s ago
     Docs: http://docs.docker.com
  Process: 27137 ExecStart=/opt/rockstor/bin/docker-wrapper /mnt2/rockon-root (code=exited, status=1/FAILURE)
 Main PID: 27137 (code=exited, status=1/FAILURE)

Nov 10 14:23:02 ohcc-server-01 systemd[1]: Started Docker Application Container Engine.
Nov 10 14:23:02 ohcc-server-01 systemd[1]: Starting Docker Application Container Engine...
Nov 10 14:23:02 ohcc-server-01 docker-wrapper[27137]: Failed to mount Docker root(/mnt2/rockon-root). Exception: Share matching query does not exist.
Nov 10 14:23:03 ohcc-server-01 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Nov 10 14:23:03 ohcc-server-01 systemd[1]: Unit docker.service entered failed state.
Nov 10 14:23:03 ohcc-server-01 systemd[1]: docker.service failed.

Posts: 1

Participants: 1

Read full topic

Help Please: Shared Folders Disappeared, Now Seeing "bad tree block start" and "open_ctree failed"

$
0
0

@BrainDamagedPilot wrote:

Looking for any assistance with my shared folders that have disappeared. I have been using Rockstor for a few months and loved it up until this snafu. After rebooting my server the Samba Share has disappeared. The web-ui shows all physical devices and the Pool, however the Share is missing and shows the following message:

Error running a command. cmd = ['/bin/mount',
'/dev/disk/by-label/Rogue-Server_Rockstor_Test_Pool',
'/mnt2/Rogue-Server_Rockstor_Test_Pool', '-o', ',compress=no']. rc = 32.
stdout = ['']. stderr = ['mount: wrong fs type, bad option, bad
superblock on /dev/sdg,', ' missing codepage or helper program, or
other error', '', ' In some cases useful info is found in syslog -
try', ' dmesg | tail or so.', '']

            Traceback (most recent call last):

File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in handleexception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/pool_scrub.py", line 45, in get_queryset
self.scrubstatus(pool)
File "/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/transaction.py", line 431, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/pool_scrub.py", line 55, in scrubstatus
cur_status = scrub_status(pool)
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 723, in scrub_status
mnt_pt = mount_root(pool)
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 142, in mount_root
run_command(mnt_cmd)
File "/opt/rockstor/src/rockstor/system/osi.py", line 98, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = ['/bin/mount', '/dev/disk/by-label/Rogue-Server_Rockstor_Test_Pool', '/mnt2/Rogue-Server_Rockstor_Test_Pool', '-o', ',compress=no']. rc = 32. stdout = ['']. stderr = ['mount: wrong fs type, bad option, bad superblock on /dev/sdg,', ' missing codepage or helper program, or other error', '', ' In some cases useful info is found in syslog - try', ' dmesg | tail or so.', '']

When I go the the console I see the following on repeat:
BTRFS error (device sdb): bad tree block start
BTRFS: Failed to read block groups: -5
BTRFS: open_ctree failed

Currently running Rockstor 3.8-14
Pool is RAID-6

Any assistance is appreciated, this of course happened before I could backup relevant documents to a physcally separate device....standard.

Posts: 1

Participants: 1

Read full topic

Unknown internal error doing a POST to /api/commands/update-check

$
0
0

@g6094199 wrote:

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

After trying to load "https://ip/#version"

Detailed step by step instructions to reproduce the problem

[write here]

Web-UI screenshot

Error Traceback provided on the Web-UI


Houston, we've had a problem.

Unknown internal error doing a POST to /api/commands/update-check

Posts: 3

Participants: 3

Read full topic

Internal server error when starting owncloud rockon in 3.8-15

$
0
0

@mrblomblom wrote:

Hello!

I get the following message after a fresh 3.8-15 install with new shares after the installation of owncloud rockon:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

The installation finishes without error, and the message above appears in a new blank browser page (instead of owncloud). Any ideas?

Posts: 1

Participants: 1

Read full topic

'root filesystem is not BTRFS. During Rockstor installation, you must select BTRFS instead of LVM and other options for root filesystem. Please re-install Rockstor properly.'

$
0
0

@m3elloa wrote:

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

New install, 10 2TiB HDDS, perc 5/i IT mode SAS controler

Detailed step by step instructions to reproduce the problem

Accessed GUI, setup user, got the error

Web-UI screenshot

[Drag and drop the image here]

Error Traceback provided on the Web-UI



Posts: 9

Participants: 3

Read full topic

Question about a way to Migrate from OMV EXT4 to Rockstor BTRFS

$
0
0

@Basti_Fantasti wrote:

Hi!

I finally want to try Rockstor instead of OMV as my NAS System.

As i have 4 different sized HDDs i want to make one single Datapool without any Raid Function.

But how to migrate my Data?

As non of my HDDs is full i´ve thought about copying some Data from one of the bigger Drives to an external drive and create a pool with this in rockstor. After Copying the Data via Windows Machine from the external drive back to the HDD i want to take the next HDD and Copy the Data from Windows to Rockstor. After Data is copied i want to add the empty HDD to the Storagepool. This procedure shoudl be done with all 4 drives.

Do you think this is possible or do you know an easier way?

Thx!

Basti

Posts: 3

Participants: 2

Read full topic


Cli kept old IP address

$
0
0

@m3elloa wrote:

Brief description of the problem

cli kept old IP address

Detailed step by step instructions to reproduce the problem

Fresh installation with DHCP enabled
After installation, set a different IP in the router for the NIC MAC and reboot
Cli still shows old IP
Router shows new IP live
SSH to new IP ok
if config shows correct ip in the interface:
enp6s0: flags=4163 mtu 1500
inet 10.10.10.18 netmask 255.255.255.0 broadcast 10.10.10.255
inet6 fe80::215:17ff:fedc:2c5e prefixlen 64 scopeid 0x20
ether 00:15:17:dc:2c:5e txqueuelen 1000 (Ethernet)
RX packets 18137 bytes 23491675 (22.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9017 bytes 3563375 (3.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18 memory 0xf7a20000-f7a40000

cli shows old IP: 10.10.10.131

Web-UI screenshot

Posts: 2

Participants: 1

Read full topic

Can't change samba workgroup - Rockstor 3.8-15 missing patch

$
0
0

@m3elloa wrote:

Brief description of the problem

Changed workgroup via GUI

Detailed step by step instructions to reproduce the problem

Open GUI, typed workgroup, clicked submit -> error.

Error Traceback provided on the Web-UI


Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/smart_manager/views/samba_service.py", line 83, in post
update_global_config(global_config, adconfig)
File "/opt/rockstor/src/rockstor/system/samba.py", line 134, in update_global_config
tfo.write(' %s = %s\n' % (k, ad_config[k]))
KeyError: 'workgroup'

Posts: 6

Participants: 2

Read full topic

Build RAID1 on two portal usb 3.0 hard drive

$
0
0

@niu_lin wrote:

Hi experts,
I have an Intel NUC (i3-6100U) running ESXi6.0 and I created a VM running rockstor.

I attached two portal 2.5' usb 3.0 hard drive to the host and assigned both drives to rockstor. More specifically, the model of the hard drives is seagate backup plus portable 4TB.

I created RAID 1 pool on top of the two drives, so far so good. Both drives hibernate during idle time, and performance is decent.

I am asking if any one here has experiences of such setup. I'm concerning if there's any potential risk to data safety? Such as would it causing RAID lost in in case of power instability of the USB 3.0 port, etc. Anything I should specially pay attention to than hard drives on SATA port? Any other suggestions?

Posts: 2

Participants: 2

Read full topic

3.8.15-0 Dashboard, TopShare Usage, not correct

$
0
0

@glenngould wrote:

I think there has been spent already a lot of work to improve the different dashboard widgets, but it seems there are still some bugs...look at the attached screenshot.
My rock-ons-root share has 5GB allocated which is correct but only ~500MB are used, it shows 24,7GB are used which equals close to 500% ?

Posts: 3

Participants: 3

Read full topic

Samba could not be configured. Try again. Exception: 'workgroup'

$
0
0

@William212 wrote:

I performed a fresh install of RockStor and am now configuring access to it from my Windows 10 desktop,

Went to setup SAMBA, entered the workgroup name and received the following

Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/smart_manager/views/samba_service.py", line 83, in post
update_global_config(global_config, adconfig)
File "/opt/rockstor/src/rockstor/system/samba.py", line 134, in update_global_config
tfo.write(' %s = %s\n' % (k, ad_config[k]))
KeyError: 'workgroup'

Tried it again. Same. Tried it with a different workgroup name to see if there was legacy conflict - same.

Posts: 1

Participants: 1

Read full topic

Viewing all 1920 articles
Browse latest View live