Announcement

Collapse
No announcement yet.

FreeNAS - wtf?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    FreeNAS - wtf?

    Sorry, I'm not real knowledgable about disks.
    Could somebody please explain to me how to fix this?
    I just installed FreeNAS for the first time. It's a dell vostro 200 with 2gb of ram dual core intel cpu and a single 750gb hdd.
    Should I put in a lousy old 40gb sata disk i have to install freenas on then use th 750gb for storage only?
    thanks
    Attached Files

    #2
    Re: FreeNAS - wtf?

    Did you just install freenas or was this a running setup with an unexpected oops?

    Looks like it can't find the disk or you have a bad install or it's missing the driver for sata chipset, or worst case you have a bad hard-drive.

    Comment


      #3
      Re: FreeNAS - wtf?

      Is the drive recognised in the bios?
      Please upload pictures using attachment function when ask for help on the repair
      http://www.badcaps.net/forum/showthread.php?t=39740

      Comment


        #4
        Re: FreeNAS - wtf?

        Sounds like it isn't set up properly. Maybe time to consult the documentation?

        http://www.freenas.org/images/resour..._428_145473606

        http://www.freenas.org/images/resour...8.3_guide.html

        Comment


          #5
          Re: FreeNAS - wtf?

          It may be a BIOS setting:

          I'm having trouble booting after upgrading/installing FreeNASâ„¢ and get the error:

          Trying to mount root from ufs:/dev/ufs/FreeNASs1a

          mount: /dev/ufs/FreeNASs3 : No such file or directory

          User @beyondbuxton found this worked, while other users said it didn't:

          Enter BIOS. Select Advanced, IDE Configuration. ATA/IDE config had been set to "Enhanced". I set it to "Compatible", hit F10, and watched FreeNASâ„¢ 8.0.1-REL boot.

          It may be worth verifying that "Legacy IDE" is set to "PATA PRI, SATA SEC".
          Found here:

          http://forums.freenas.org/faq.php?faq=general_freenas

          Comment


            #6
            Re: FreeNAS - wtf?

            It is already set to IDE - my two options are "IDE" and "RAID"
            It certainly detects the drive because it boots from it that far and it was detected in the installer.

            Comment


              #7
              Re: FreeNAS - wtf?

              Originally posted by Time2Retire View Post
              Sounds like it isn't set up properly. Maybe time to consult the documentation?

              http://www.freenas.org/images/resour..._428_145473606

              http://www.freenas.org/images/resour...8.3_guide.html
              Fine, I will RTFM

              Comment


                #8
                Re: FreeNAS - wtf?

                It is complaining that it can't locate root. It is looking for it in this location:

                /dev/ufs/FreeNASs1a

                I don't know what kind of command options are available to you in that terminal. But can you confirm that the location even exists? I am thinking using simple Linux/Unix commands, like 'cd' to the /dev/ufs directory and use 'ls' to list the contents of the directory.

                EDIT: It does say to enter '?' to list valid boot devices. Worth a try to see what it thinks are valid boot devices.
                Last edited by Time2Retire; 11-17-2012, 11:30 AM.

                Comment


                  #9
                  Re: FreeNAS - wtf?

                  OK it's working now.
                  I installed it on a 40GB drive so the 750GB is purely storage

                  Comment


                    #10
                    Re: FreeNAS - wtf?

                    Originally posted by Time2Retire View Post
                    It is complaining that it can't locate root. It is looking for it in this location:

                    /dev/ufs/FreeNASs1a

                    I don't know what kind of command options are available to you in that terminal. But can you confirm that the location even exists? I am thinking using simple Linux/Unix commands, like 'cd' to the /dev/ufs directory and use 'ls' to list the contents of the directory.

                    EDIT: It does say to enter '?' to list valid boot devices. Worth a try to see what it thinks are valid boot devices.
                    Looks like it was trying to boot from CD or using disk labels you can edit fstab and change it to id-by-disk.

                    Comment


                      #11
                      Re: FreeNAS - wtf?

                      Originally posted by Mad_Professor View Post
                      Looks like it was trying to boot from CD or using disk labels you can edit fstab and change it to id-by-disk.
                      Well it's fixed now.

                      How do I set permissions for CIFS shares? I'm having some trouble with it.
                      Thanks

                      Comment


                        #12
                        Re: FreeNAS - wtf?

                        I'm not clear exactly what operating system you have this installed on. Is it a version of Linux, or is it Solaris or something else.

                        Sharing files & folders from a Linux system to Windows users uses the Samba application. You need to set up your shares with that application, usually using config files, a smb.config file I believe is the main one.

                        Comment


                          #13
                          Re: FreeNAS - wtf?

                          FreeNAS is a Linux distro itself.
                          All of my computers run Windows

                          Comment


                            #14
                            Re: FreeNAS - wtf?

                            Originally posted by Time2Retire View Post
                            I'm not clear exactly what operating system you have this installed on. Is it a version of Linux, or is it Solaris or something else.
                            It's a "NAS for dummies" distro based on FreeBSD
                            36 Monitors, 3 TVs, 4 Laptops, 1 motherboard, 1 Printer, 1 iMac, 2 hard drive docks and one IP Phone repaired so far....

                            Comment


                              #15
                              Re: FreeNAS - wtf?

                              Originally posted by shovenose View Post
                              FreeNAS is a Linux distro itself.
                              All of my computers run Windows
                              Originally posted by smason View Post
                              It's a "NAS for dummies" distro based on FreeBSD
                              Well, which one is it?

                              I looked at the FreeNAS web site, and it is FreeBSD. I have never used that, and don't know how similar it is or isn't to Linux. It does say it uses Samba for CIF shares, and provides this page to help in the setup of Samba:

                              http://doc.freenas.org/index.php/Win...CIFS%29_Shares

                              Comment


                                #16
                                Re: FreeNAS - wtf?

                                Originally posted by Time2Retire View Post
                                Well, which one is it?
                                FreeBSD is FreeBSD, little if anything to do with Linux other than the commands being similar. As far as i can remember anyway, it's been a while....
                                36 Monitors, 3 TVs, 4 Laptops, 1 motherboard, 1 Printer, 1 iMac, 2 hard drive docks and one IP Phone repaired so far....

                                Comment


                                  #17
                                  Re: FreeNAS - wtf?

                                  Originally posted by smason View Post
                                  FreeBSD is FreeBSD, little if anything to do with Linux other than the commands being similar. As far as i can remember anyway, it's been a while....
                                  Sorry, I meant FreeBSD but I understand some of the stuff because it's the same, such as the way it displays server load, etc.

                                  Comment


                                    #18
                                    Re: FreeNAS - wtf?

                                    Originally posted by shovenose View Post
                                    Well it's fixed now.

                                    How do I set permissions for CIFS shares? I'm having some trouble with it.
                                    Thanks
                                    Make a directory, set the permissions I usually do 777 for it then vi /etc/samba/smb.conf

                                    depending on how secure you want it and if you want public or private shares, refer to samba for more details.

                                    This is my smb.conf, everyone can read, write and excute.
                                    Code:
                                    [global]
                                    workgroup = workgroup
                                    server string = File Server
                                    netbios name = fileserver
                                    security = SHARE
                                    log level = 0
                                    max log size = 50
                                    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
                                    read raw = yes
                                    write raw = yes
                                    aio read size = 1
                                    aio write size = 1
                                    use sendfile = Yes
                                    acl check permissions = no
                                    follow symlinks = yes
                                    wide links = yes
                                    unix extensions = no
                                    load printers = yes
                                    printing = cups
                                    printcap name = cups
                                    profile acls = yes
                                    nt acl support = no
                                    
                                    [Backup's]
                                    path = /storage/Backup's
                                    read only = no
                                    guest ok = yes
                                    
                                    [Drivers]
                                    path = /storage2/Drivers
                                    read only = no
                                    guest ok = yes
                                    
                                    [Games]
                                    path = /storage2/Games
                                    read only = no
                                    guest ok = yes
                                    
                                    [Movies]
                                    path = /storage2/Movies
                                    read only = no
                                    guest ok = yes
                                    
                                    [Software]
                                    path = /storage2/software
                                    read only = no
                                    guest ok = yes
                                    
                                    [Technician Software]
                                    path = /storage2/Technician Software
                                    read only = no
                                    guest ok = yes
                                    
                                    
                                    [Tech for 9.x]
                                    path = /storage2/Technician Software
                                    read only = no
                                    guest ok = yes
                                    
                                    [Temp Transfers]
                                    path = /storage2/Temp Transfers
                                    read only = no
                                    guest ok = yes
                                    
                                    [printers]
                                    comment = All Printers
                                    path = /var/spool/samba
                                    browseable = no
                                    guest ok = yes
                                    writable = no
                                    printable = yes
                                    Hope this helps.

                                    Comment


                                      #19
                                      Re: FreeNAS - wtf?

                                      Originally posted by Mad_Professor View Post
                                      Make a directory, set the permissions I usually do 777 for it then vi /etc/samba/smb.conf

                                      depending on how secure you want it and if you want public or private shares, refer to samba for more details.

                                      This is my smb.conf, everyone can read, write and excute.
                                      Why would you want to allow anyone and everyone to be able to execute scripts or binaries on your system? This is how systems can then be easily compromised.

                                      Comment


                                        #20
                                        Re: FreeNAS - wtf?

                                        Originally posted by Time2Retire View Post
                                        Why would you want to allow anyone and everyone to be able to execute scripts or binaries on your system? This is how systems can then be easily compromised.
                                        When you execute something from the client end, it doesn't execute it on the server, it executes it on the client machine. If I didn't have the execute permission, I would not be able to execute it from a windows share, I would have to copy it over and then execute it. Only downside to this is if you execute it on a infected machine, the file itself is prone to infection, but it would not spread on the server and only infect other machines that execute that file too.

                                        Plus SMB/CIFS is like NFS it should only be used on local networks and vpn, and never be open to the internet, that's what ftp and http is for.

                                        Comment

                                        Working...