Page 1 of 2

Error on format partition.

PostPosted: Sat May 02, 2015 9:06 pm
by angoon95
hi ,
i had changed my HDD , and make a initial installation .
it is the same disk ( same capacity , etc ... )

the Fdisk is correct .

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 64 514048+ 83 Linux
/dev/sda2 65 128 514080 83 Linux
/dev/sda3 129 192 514080 82 Linux swap
/dev/sda4 193 121601 975217792+ 5 Extended
/dev/sda5 193 292 803218+ 83 Linux
/dev/sda6 293 293 8001 83 Linux
/dev/sda7 294 357 514048+ 83 Linux
/dev/sda8 358 121601 973892398+ 83 Linux

Command (m for help): q


the mke2fs for sda5 , ok
and the mke2fs for sda8 check a error .


root@(none):/mnt-sda5 # mke2fs -j -m 1 -n /dev/sda8
mke2fs: lseek: Value too large for defined data type
root@(none):/mnt-sda5 #


i don't find a solution , have you a idea ?

thks.

Re: Error on format partition.

PostPosted: Sat May 02, 2015 10:05 pm
by fvdw
I assume you are using the nwsp2 179 standalone kernel
Try to use the command
Code: Select all
mke2fs-64 -j -m 1 -n /dev/sda8

Re: Error on format partition.

PostPosted: Sun May 03, 2015 10:48 am
by angoon95
exactly , i try to install version 11 before upgrade v15.

right for mke2fs-64 .

I have finish installation , but i don't see storage disk .
the webgui indicate :

Total Storage: 0 MB
Available Storage: 0.00 GB

it's normal , or i miss a step ?

thks.

Re: Error on format partition.

PostPosted: Sun May 03, 2015 11:45 am
by fvdw
you must have missed something, seems the data partition is not mounted
connect via ssh and give commands
Code: Select all
cat boot.log

and
Code: Select all
mount

post the output here

Re: Error on format partition.

PostPosted: Sun May 03, 2015 3:56 pm
by angoon95
boot.log
Code: Select all
root@:/ # cat boot.log
start boot log
Sun May  3 08:42:24 GMT 2015
booting using  root file system...
run udevstart to update dev nodes when necessary
inserting kernel modules:
make dev node for buttons...
configure loopback netwerk interface
starting php based setup routines step 1


 * Initial Orion-Nas XML configuration file...          [ OK ]
 * Configuring Disks...                                  [ Fail ]
 * Configuring System Users...
Warning: fopen(/etc/rootpasswd): failed to open stream: No such file or directory in /etc/finc/userfunc_users_commit.finc on line 38
                                 [ OK ]
 * Starting mount of volumes...
 * Finishing mount of volumes...                         [ OK ]
 * Generating Hosts File...                              [ OK ]
 * Configuring System Hostname...                        [ OK ]
 * Configuring Samba...                                  [ OK ]
 * Configuring LAN interface...                          [ OK ]
 * Starting udevd...                                     [ OK ]
 * Starting web server...                                [ OK ]
 * Initializing Timezone...                              [ OK ]
 * Starting NTP client...                                [ Fail ]
 * Configuring Samba...                                  [ OK ]
 * Starting syncawayd...                                 [ OK ]
,QOSd...                         [ OK ]
starting php based setup routines step 2
 * Starting dropbear... cmd : dropbear -p 22 -r '/rw_fs/etc/dropbear/dropbear_rsa_host_key'                           [ OK ]


 * Starting daemon update Hosts File...                          [ OK ]
starting php based setup routines step banner


*** fvdw-sl NAS firmware
    This is fvdw-sl version: fvdw-sl 11.0
    built on: Januari 3 2012

    LAN IP address: 192.168.1.51 (static)

    Port configuration:

    LAN   -> eth0
php based setup routines finished
start buttons control daemon
buttons-nwsp2 daemon started
web permission on resolv.conf
set device tuning for dms performance
move smbd en nmbd db files to ramdisk to enable disk spin down
rcS finished
root@:/ #


and mount

Code: Select all
root@:/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=200k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
root@:/ #


thks

Re: Error on format partition.

PostPosted: Sun May 03, 2015 4:15 pm
by fvdw
(1) why did you install fvdw-sl 11-0 ?
the fvdw-sl console comes with 15-3. You need 15-3 to upgrade to 16-0

(2) somehting wrong with the disk, it fails to configure the disk and indeed data partiton is not mounted.
This could be because an issue with the nas data base. Which file did you unpack in sda5 ?

Further post the output of
Code: Select all
fdisk -l /dev/sda


and try this and post the result
Code: Select all
mkdir /sda8
mount /dev/sda8 /sda8

Re: Error on format partition.

PostPosted: Sun May 03, 2015 4:38 pm
by angoon95
fdisk:
Code: Select all
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1          64      514048+ 83 Linux
/dev/sda2              65         128      514080  83 Linux
/dev/sda3             129         192      514080  82 Linux swap
/dev/sda4             193      121601   975217792+  5 Extended
/dev/sda5             193         292      803218+ 83 Linux
/dev/sda6             293         293        8001  83 Linux
/dev/sda7             294         357      514048+ 83 Linux
/dev/sda8             358      121601   973892398+ 83 Linux


and mount :
Code: Select all
root@:/ # mkdir /sda8
root@:/ #
root@:/ # mount /dev/sda8 /sda8
mount: mounting /dev/sda8 on /sda8 failed: Invalid argument
root@:/ #


i had installed v11 because on a post for NWSP2 , i read that it's necessary to upgrade v15 from v11 , but perhaps i wrong .

I had installed the "sda5-lacie-nwsp.tar" file.

they are not data on drive , i can re-install all if necessary , or if it's more simply.

thks.

Re: Error on format partition.

PostPosted: Sun May 03, 2015 8:06 pm
by fvdw
still seems we have a problem with file system on sda8, this because the mount command fails
Give this command to check if there is a file system on the partition
Code: Select all
blkid


it should list this
Code: Select all
root@nwsp2-3:/ # blkid
/dev/sda1: UUID="a2d9e80b-003a-45b4-96c3-f46c96833d46" TYPE="ext3"
/dev/sda2: UUID="a2d9e80b-003a-45b4-96c3-f46c96833d46" TYPE="ext3"
/dev/sda3: UUID="b53fa3c9-9189-4901-a404-fc52fa468e45" TYPE="swap"
/dev/sda5: UUID="09b2c1bf-1cdc-4bcf-8788-101f02b1ada7" TYPE="ext3"
/dev/sda7: UUID="f3417103-db85-4233-b584-ecce260d03f5" TYPE="ext3"
/dev/sda8: UUID="1564c215-2069-40d5-bec7-1fa01a1dec36" TYPE="ext3"
root@nwsp2-3:/ #

Re: Error on format partition.

PostPosted: Sun May 03, 2015 8:18 pm
by angoon95
yes , i think to .
this afternoon , i had format again the sda8 partition , and i can mount the sda8 device.
i had restart the NWSP2 device , but the webgui display "0 Gb"


Code: Select all
root@:/ # blkid
/dev/sda1: UUID="f3417103-db85-4233-b584-ecce260d03f5" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda2: UUID="f3417103-db85-4233-b584-ecce260d03f5" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="376f9c72-5eea-4905-a147-6c85a1b495ec" TYPE="swap"
/dev/sda5: UUID="632aa131-7d74-4dde-aeff-b265f9040e84" TYPE="ext2"
/dev/sda7: UUID="f3417103-db85-4233-b584-ecce260d03f5" TYPE="ext3"
/dev/sda8: UUID="a638bed4-99db-4158-baa2-e4e29fe5c99f" TYPE="ext3"
root@:/ #


Code: Select all
root@:/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=200k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda8 on /mnt-sda8 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
root@:/ #


Code: Select all
!
 * Initial Orion-Nas XML configuration file...          [ OK ]
 * Configuring Disks...                                  [ Fail ]

!
!

Re: Error on format partition.

PostPosted: Sun May 03, 2015 8:37 pm
by fvdw
The mountpoint of sda8 is wrong, did you edit the nas database?