Cloudbox - new disk install: No space on disk

Cloudbox - new disk install: No space on disk

Postby howareyou » Mon Jun 29, 2015 10:14 am

Hello,

I installed an old Lacie 3TB disk into a an empty Cloudbox. This disk is a a Seagate Baraccuda one.

I have run fvdw-sl-console (from fvdw-sl-console-5-5-16-0-2-1-1jun2015-32bits) and run fvdw-sl firmware. After a checking question, UBoot came up. I then powered up the cloudbox, and got some messages about Maxell?
TFTP then appeared and I followed the list of commands to install and chmod the installer.
It then asked a lot of questions (I can't remember them all). I know that somewhere along the line the question of more than 2TB came up.
Anyway I saw a message about too many partitions at the bottom, but then it said it would use just what it could.
It went through a long writing sequence (up to ~ 22256).

Eventually it got to the prompt and I used the reboot cmd.

Well, I can point my browser to the IP address and get a web page and login with admin-nas. There are all the various cmds on the left. One is Disk setup:
Manage Disks and Volumes:
Disk Volume Status Type Total Size Free Size
Single active single 2791.75 GB 0.00 GB

So my question is why no space? Did the partition error cause it? And what to do about it?

I'm also surprised to see it not advertised on W7 network view but it may be something to do with SMB?

Any help appreciated.

Paul
howareyou
 
Posts: 5
Joined: Sun Jun 28, 2015 3:23 pm

Re: Cloudbox - new disk install: No space on disk

Postby Jocko » Mon Jun 29, 2015 11:49 am

Hi Dereck,

howareyou wrote:I'm also surprised to see it not advertised on W7 network view but it may be something to do with SMB?
I am pretty sure the NAS doesn't have the same workgroup than your W7. Use the LAN setup menu to set it.

howareyou wrote:So my question is why no space? Did the partition error cause it? And what to do about it?
I think that you have a bad partition table. The firmware assumes that the last partition is the data partition and you wrote "Anyway I saw a message about too many partitions at the bottom".

Maybe you use a disk with an existing partitions table.

So if you have a shell access (after fixing the workgroup issue) can you post the output of
Code: Select all
gdisk -l /dev/sda

and

mount


Note: default credentials for SSH access is root and pwd: giveit2me
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cloudbox - new disk install: No space on disk

Postby howareyou » Mon Jun 29, 2015 2:20 pm

Hi

I did change the workgroup name to match my own, but I can't see it.

Anyway here is the output of the cmds you listed:

Code: Select all
login as: root
root@192.168.0.6's password:
root@New_NAS:/ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 2AF8D378-680C-490D-AAC1-8AA7C45A0B51
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4062 sectors (2.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            4096         1052671   512.0 MiB   8300  Linux filesystem
   2         1052672         2101247   512.0 MiB   8300  Linux filesystem
   3         2101248         3149823   512.0 MiB   8200  Linux swap
   4         3149824         3166207   8.0 MiB     8300  Linux filesystem
   5         3166208         4739071   768.0 MiB   8300  Linux filesystem
   6         4739072         4755455   8.0 MiB     8300  Linux filesystem
   7         4755456         5804031   512.0 MiB   8300  Linux filesystem
   8         5804032      5860533134   2.7 TiB     8300  Linux filesystem


Code: Select all
root@New_NAS:/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,errors=continue,barrier=1,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
root@New_NAS:/ #


I hope this makes some sense?

Thanks
howareyou
 
Posts: 5
Joined: Sun Jun 28, 2015 3:23 pm

Re: Cloudbox - new disk install: No space on disk

Postby Jocko » Mon Jun 29, 2015 2:37 pm

So nothing wrong with your partition table.

But indeed dsa8 is not mounted and explains why you have no free space.

So check now the fs on sda8 : post the output of
Code: Select all
file -s /dev/sda8
it should say "ext3 filesystem data"
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cloudbox - new disk install: No space on disk

Postby howareyou » Mon Jun 29, 2015 2:56 pm

It says

login as: root
root@192.168.0.6's password:
root@New_NAS:/ # file -s /dev/sda8
/dev/sda8: data
root@New_NAS:/ #
howareyou
 
Posts: 5
Joined: Sun Jun 28, 2015 3:23 pm

Re: Cloudbox - new disk install: No space on disk

Postby Jocko » Mon Jun 29, 2015 3:10 pm

So that means fvdw-sl failed to set the fs on sda8 and then the default share 'public'. This can explain also why you don't see your NAS as I assume that samba server fails to start in a such configuration.

We can restore manually, still with the SSH access do
1/format sda8
Code: Select all
mke2fs -t ext3 -j -m 1 /dev/sda8

2/ create the related mountpoint
Code: Select all
mkdir -m 777 /share/1000

3/ mount sda8
Code: Select all
mount /dev/sda8 /share/1000

4/ create the default share (only if step 3 succeeded!)
Code: Select all
mkdir -m 777 /share/1000/public


So restart the NAS and all should be ok now.

After rebooting, please to post the content of the file /boot.log
Code: Select all
cat /boot.log
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cloudbox - new disk install: No space on disk

Postby howareyou » Mon Jun 29, 2015 3:37 pm

When I try this (I wasn't sure it it was 1 or l) I get this:

login as: root
root@192.168.0.6's password:
root@New_NAS:/ #
root@New_NAS:/ # mke2fs -t ext3 -j l /dev/sda8
mke2fs 1.42.11 (09-Jul-2014)
mke2fs: invalid blocks '/dev/sda8' on device 'l'
root@New_NAS:/ #
root@New_NAS:/ # mke2fs -t ext3 -j 1 /dev/sda8
mke2fs 1.42.11 (09-Jul-2014)
mke2fs: invalid blocks '/dev/sda8' on device '1'
root@New_NAS:/ #
howareyou
 
Posts: 5
Joined: Sun Jun 28, 2015 3:23 pm

Re: Cloudbox - new disk install: No space on disk

Postby Jocko » Mon Jun 29, 2015 3:43 pm

You use a wrong commandline:
yours
Code: Select all
mke2fs -t ext3 -j l /dev/sda8
and mime
Code: Select all
mke2fs -t ext3 -j -m 1 /dev/sda8
and the value for the flag m is 1 and not l !
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cloudbox - new disk install: No space on disk

Postby howareyou » Mon Jun 29, 2015 4:41 pm

This all worked and I see the NAS. Thanks for all your help!

The boot.log is:
Code: Select all
login as: root
root@192.168.0.6's password:
root@New_NAS:/ # cat /boot.log
start boot log
detect and set platform
cloudbox
UIMAGE-3142-NWSP2CL-2
cloudbox
 mount dev/pts
update dev nodes
booting using  root file system...
make dev node for buttons...
make dev node for tun device...
enable IP forwarding...
start buttons control daemon
device = cloudbox
source = buttons-cloudbox
buttons-nwsp2 daemon started
initializing date
Wed Nov 16 12:00:00 UTC 2011
create temporary passwd file
run udevstart to update dev nodes when necessary
inserting kernel modules:
create temporary group file
configure loopback netwerk interface
setting reboot and standby
cloudbox
rebootd-cloudbox
cloudbox
standbyd-cloudbox
starting php based setup routines step 1
 * Finishing restore RAID devices...     [ OK ]
 * Found XML database configuration file...      [ OK ]
 * Updating Disks database...                    [ OK ]
 * Starting mount of volumes...
   - Mounting volume Default:  [ OK ]
 * Finishing mount of volumes...                 [ OK ]
 * Starting udevd...                                     [ OK ]
 * Generating Hosts File...                      [ OK ]
 * Configuring System Hostname...                [ OK ]
 * Configuring LAN interface...                  [ OK ]
 * Initializing Timezone...                      [ OK ]
 * Starting web server...                                [ OK ]
 * Starting mount of internal USB ...
 * Finishing mount internal USB ...      [ OK ]
 * Configuring Disks...                                  [ OK ]
 * Configuring Samba...                                  [ OK ]
 * Configuring System Users...
        Root password: use default password
        Set users, linux and samba accounts      [ OK ]
 * Starting syncawayd...                                 [ OK ]
 * Starting Fvdw-sl Discovery Daemon...  [ OK ]
start rpcbind service
starting php based setup routines step 2
 * Starting dropbear...                                  [ OK ]
 * Kill temporary dropbear...                    [ OK ]
starting php based setup routines step 3
 * Starting NFS Server...                                [ OK ]
 * Starting daemon update Hosts File...  [ OK ]
 * Starting Disk Temperature Guard...    [ OK ]
 * Starting mount of remote shares...
 * Finishing mount shares...                     [ OK ]
starting php based setup routines step banner


*** fvdw-sl NAS firmware
    This is fvdw-sl version: fvdw-sl 16.0
    built on: Dec 28 2014

    LAN IP address: 192.168.0.6 (DHCP)

    Port configuration:

    LAN   -> eth0
php based setup routines finished
web permission on resolv.conf
set device tuning for dms performance
else loop1 finished
rcS finished
root@New_NAS:/ #
howareyou
 
Posts: 5
Joined: Sun Jun 28, 2015 3:23 pm


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 24 guests