General NAS-Central Forums

Welcome to the NAS community
It is currently Mon Oct 23, 2017 11:18 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Before I start...
PostPosted: Tue Apr 05, 2011 1:14 pm 
Offline

Joined: Tue Apr 05, 2011 8:07 am
Posts: 70
Hi,

Real happy I found this forum and first of all I wan't to say THANKS to Mijzelf and of course the maker of FFP for sharing all this with the community!

I'm pretty much a Linux n00b but eager to learn more so I hope you guys bear with me and don't laugh to hard at stupid questions that may eventually come ;)

I just want to verify that I understood FFP correctly so far. Am I correct that after FPP is up running on a NSA-220+ (firmware 3.22) it's daemons works in parallell with stock features/daemons (I understand that there can't be two daemons using same ports etc.)?

Anyway, my first goal is the following:

1. Get FFP up running on a 4 GB USB stick (smallest I could get) with a Telnet daemon (I'm behind FW so no SSH for the moment).

2. Install MC on same USB stick.

3. Get a rsync daemon up running and share some already existing folders on the NAS.

I also assume this is the latest procedure list ?

http://zyxel.nas-central.org/wiki/FFP-s ... to_install

Am I missing something?

Just want to be sure before doing something I would regret since the NSA-220+ is full with data.

/KC


Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Tue Apr 05, 2011 4:11 pm 
Offline

Joined: Tue Apr 05, 2011 8:07 am
Posts: 70
After some more reading I understood that the NAS built in features continued to work in parallell to FFP so I followed the steps on the wiki and I have Telnet up and running on port 23.

So far so good but after rebooting and logging into the NAS via the web I noticed the following under External Volumes (see attachment). What worries me is that I see references to the 1 TB WD HDD listed 4 times as USB0, is this normal or did I do something wrong?

Any input appreciated...

/KC


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Tue Apr 05, 2011 5:52 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6050
It's normal that the USB stick partitions are shown twice. I *think* the backend of the webinterface just interprets /proc/mounts to build this graph, and the USB partition are actually mounted twice, once inside, and once outside the FFP chroot.
It's a bit strange that your JBOD parts are also shown. What is the output of 'cat /proc/mounts'?


Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Tue Apr 05, 2011 6:14 pm 
Offline

Joined: Tue Apr 05, 2011 8:07 am
Posts: 70
Hi Mijzelf,

I read that the USB stick partitions showing up twice is a known issue.

Mijzelf wrote:
It's a bit strange that your JBOD parts are also shown. What is the output of 'cat /proc/mounts'?


Yes, thats what worried me. Everything "seems" to work but I just want to make sure I do not screw something up on the internal HDD. I unplugged FFP and re-booted the NAS and then ran a "Scan Disk" from the web GUI and it reported OK.

Below is the output...

Code:
/ # cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/ram0 / ext2 ro 0 0
/proc /proc proc rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
/sys /sys sysfs rw 0 0
/dev/ram3 /tmp ext2 rw 0 0
/dev/ram3 /var ext2 rw 0 0
/dev/ram3 /etc ext2 rw 0 0
/dev/ram3 /home ext2 rw 0 0
/dev/ram3 /e-data ext2 rw 0 0
/dev/ram3 /i-data ext2 rw 0 0
/dev/ram3 /mnt ext2 rw 0 0
/dev/ram3 /dev ext2 rw 0 0
/dev/sda1 /ram_bin ext3 ro,data=ordered 0 0
/dev/sda1 /usr ext3 ro,data=ordered 0 0
/dev/sda1 /sbin ext3 ro,data=ordered 0 0
/dev/sda1 /lib/security ext3 ro,data=ordered 0 0
/dev/sda1 /lib/modules ext3 ro,data=ordered 0 0
/dev/ram3 /usr/local/etc ext2 rw 0 0
/dev/ram3 /usr/local/var ext2 rw 0 0
/dev/ram3 /usr/local/dmsf ext2 rw 0 0
/dev/mtdblock2 /etc/zyxel jffs2 rw 0 0
/dev/md0 /i-data/dc8a86f0 ext3 rw,data=ordered,usrquota 0 0
/dev/sdb1 /e-data/4D9B-2ADA vfat rw,uid=99,fmask=0000,dmask=0000,codepage=cp437,iocharset=utf8,shortname=mixed 0 0
/dev/sdb2 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74 ext3 rw,data=ordered 0 0
/dev/md0 /usr/local/zy-pkgs ext3 rw,data=ordered,usrquota 0 0
/dev/md0 /etc/zyxel/zy-pkgs ext3 rw,data=ordered,usrquota 0 0
/dev/md0 /usr/local/apache/htdocs/pkg ext3 rw,data=ordered,usrquota 0 0
/dev/ram3 /dev ext2 rw 0 0
/dev/ram3 /var ext2 rw 0 0
/dev/ram3 /tmp ext2 rw 0 0
/dev/ram0 /bin ext2 ro 0 0
/dev/sda1 /sbin ext3 ro,data=ordered 0 0
/dev/ram0 /lib ext2 ro 0 0
/dev/sda1 /usr ext3 ro,data=ordered 0 0
/dev/ram3 /i-data ext2 rw 0 0
/dev/md0 /i-data/dc8a86f0 ext3 rw,data=ordered,usrquota 0 0
/dev/ram3 /e-data ext2 rw 0 0
/dev/sdb1 /e-data/4D9B-2ADA vfat rw,uid=99,fmask=0000,dmask=0000,codepage=cp437,iocharset=utf8,shortname=mixed 0 0
/dev/sdb2 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74 ext3 rw,data=ordered 0 0
/dev/ram3 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/dev ext2 rw 0 0
/dev/ram3 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/var ext2 rw 0 0
/dev/ram3 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/tmp ext2 rw 0 0
/dev/ram0 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/bin ext2 ro 0 0
/dev/sda1 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/sbin ext3 ro,data=ordered 0 0
/dev/ram0 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/lib ext2 ro 0 0
/dev/sda1 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/usr ext3 ro,data=ordered 0 0
/dev/ram3 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/i-data ext2 rw 0 0
/dev/md0 /e-data/26daaa4c-e958-4476-9beb-7fe861ab0a74/ffproot/i-data/dc8a86f0 ext3 rw,data=ordered,usrquota 0 0
/dev/ram3 /ffp/etc/original ext2 rw 0 0
/dev/mtdblock2 /ffp/etc/zyxel jffs2 rw 0 0
proc /proc proc rw 0 0
/ #


Above output doesn't say me much but hopefully you guys are able to decipher something...

Thanks!

/KC


Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Tue Apr 05, 2011 6:31 pm 
Offline

Joined: Tue Apr 05, 2011 8:07 am
Posts: 70
Just noted another thing that may be related...

When USB stick is plugged in and I select "Storage - Volume" from web GUI it never finish, just shows "Please wait..." (after ~3 minutes I clicked on "Status" to get back in GUI).

Could it be related to me using a 4 GB USB Stick?

The first time I did it I noticed this in the ffpboot.log file.

Code:
...
The number of cylinders for this disk is set to 3292.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
...


After that I redid it and first repartitioned and reformatted (FAT16) the 4 GB USB stick on my Windows XP and looking at the second ffpboot.log file I can't see the same message as above, I have saved both if they are to any help?

/KC


Last edited by KeyCat on Tue Apr 05, 2011 6:43 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Tue Apr 05, 2011 6:39 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6050
It's not hard to read. You've got six columns. The first one is the device name (more or less 'partition'), the second one is the mountpoint, the third one the filesystem, and the fourth read-only or read-write.
The 'real' partitions which can be found are /dev/sda1, /dev/sda2, /dev/sdb1 and /dev/sdb2, being the first and second partition of the harddisk, and the first and second partition of the usb-stick. Then you can find /dev/md0, the JBOD array, and /dev/ram0 and /dev/ram3, two ramdrives.

Lots of mounts can be found twice, that's due to the FFP chroot. And as I expected /dev/sda1 is showing up 4 times extra due to the FFP chroot. These are the four 500MB volumes in your graph. So it's completely harmless. Although I wouldn't try to change anything in the volumes with an active FFP-stick, just for safety.

Quote:
When USB stick is plugged in and I select "Storage - Volume" from web GUI it never finish, just shows "Please wait..." (after ~3 minutes I clicked on "Status" to get back in GUI).
I must admit that it's a long time ago I saw the webinterface (I am running Debian on my box). Now I can't remember what 'Storage - Volume' is supposed to do.


Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Tue Apr 05, 2011 6:46 pm 
Offline

Joined: Tue Apr 05, 2011 8:07 am
Posts: 70
Thank you for your quick reply, I edited my message above when you answered. Do you thing I messed up repartitioning and formatting the 4 GB USB stick to FAT16 on XP? Maybe it's better to redo it and reformat it in the NSA-220 instead?

/KC


Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Tue Apr 05, 2011 7:06 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6050
No, it's fine. That message in ffpboot.log comes from fdisk, which is called to repartition the stick. It warns for having more than 1023 cylinders, which can cause problems on old computers. Well, the NAS doesn't have problems with it (all disks bigger than 8.3GB have more than 1024 cylinders) and it's almost impossible to find a system which accepts USB sticks and yet has problems with 1024+ cylinders.

(Actually an USB stick doesn't have cylinders at all, but it's emulating a harddisk, and tells the world that is has sectors, heads and cylinders. Liar)


Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Tue Apr 05, 2011 7:27 pm 
Offline

Joined: Tue Apr 05, 2011 8:07 am
Posts: 70
Thanks for the input, I will continue tomorrow night and let you know if I figure something out or get more data that may explain it.

/KC


Top
 Profile  
 
 Post subject: Re: Before I start...
PostPosted: Fri Apr 08, 2011 2:37 pm 
Offline

Joined: Tue Apr 05, 2011 8:07 am
Posts: 70
Been a bit busy at work, will hopefully dig in again this weekend and try again...

/KC


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group