FreeNAS - wtf?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shovenose
    Send Doge Memes
    • Aug 2010
    • 6575
    • USA

    #1

    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
  • Mad_Professor
    A Mech Warrior
    • Feb 2011
    • 1587

    #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

    • selldoor
      Slow Learner
      • Dec 2010
      • 7870

      #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

      • Time2Retire
        Badcaps Veteran
        • Aug 2012
        • 256
        • USA

        #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

        • Time2Retire
          Badcaps Veteran
          • Aug 2012
          • 256
          • USA

          #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

          • shovenose
            Send Doge Memes
            • Aug 2010
            • 6575
            • USA

            #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

            • shovenose
              Send Doge Memes
              • Aug 2010
              • 6575
              • USA

              #7
              Re: FreeNAS - wtf?

              Originally posted by Time2Retire
              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

              • Time2Retire
                Badcaps Veteran
                • Aug 2012
                • 256
                • USA

                #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

                • shovenose
                  Send Doge Memes
                  • Aug 2010
                  • 6575
                  • USA

                  #9
                  Re: FreeNAS - wtf?

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

                  Comment

                  • Mad_Professor
                    A Mech Warrior
                    • Feb 2011
                    • 1587

                    #10
                    Re: FreeNAS - wtf?

                    Originally posted by Time2Retire
                    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

                    • shovenose
                      Send Doge Memes
                      • Aug 2010
                      • 6575
                      • USA

                      #11
                      Re: FreeNAS - wtf?

                      Originally posted by Mad_Professor
                      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

                      • Time2Retire
                        Badcaps Veteran
                        • Aug 2012
                        • 256
                        • USA

                        #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

                        • shovenose
                          Send Doge Memes
                          • Aug 2010
                          • 6575
                          • USA

                          #13
                          Re: FreeNAS - wtf?

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

                          Comment

                          • smason
                            Badcaps Legend
                            • Feb 2010
                            • 1652
                            • Canada

                            #14
                            Re: FreeNAS - wtf?

                            Originally posted by Time2Retire
                            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

                            • Time2Retire
                              Badcaps Veteran
                              • Aug 2012
                              • 256
                              • USA

                              #15
                              Re: FreeNAS - wtf?

                              Originally posted by shovenose
                              FreeNAS is a Linux distro itself.
                              All of my computers run Windows
                              Originally posted by smason
                              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

                              • smason
                                Badcaps Legend
                                • Feb 2010
                                • 1652
                                • Canada

                                #16
                                Re: FreeNAS - wtf?

                                Originally posted by Time2Retire
                                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

                                • shovenose
                                  Send Doge Memes
                                  • Aug 2010
                                  • 6575
                                  • USA

                                  #17
                                  Re: FreeNAS - wtf?

                                  Originally posted by smason
                                  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

                                  • Mad_Professor
                                    A Mech Warrior
                                    • Feb 2011
                                    • 1587

                                    #18
                                    Re: FreeNAS - wtf?

                                    Originally posted by shovenose
                                    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

                                    • Time2Retire
                                      Badcaps Veteran
                                      • Aug 2012
                                      • 256
                                      • USA

                                      #19
                                      Re: FreeNAS - wtf?

                                      Originally posted by Mad_Professor
                                      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

                                      • Mad_Professor
                                        A Mech Warrior
                                        • Feb 2011
                                        • 1587

                                        #20
                                        Re: FreeNAS - wtf?

                                        Originally posted by Time2Retire
                                        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

                                        Related Topics

                                        Collapse

                                        • DynaxSC
                                          ASUS ROG STRIX B550-I GAMING - M.2_2 port not working correctly with SAMSUNG SSD980 1TB NVME SSD
                                          by DynaxSC
                                          Hi,

                                          I have an really very weired issue with ASUS ROG STRIX B550-I GAMING.

                                          Some NVME (PCIe) SSD's are not working correctly in the second M.2 socket. An example of it is the SAMSUNG SSD980 1TB NVME SSD.
                                          Some other NVME (I have only smaller ones) disk do work without any problem, also SAMSUNG disks, eg an MZVPV128HDGM-0000.

                                          The behaviour is also really very strange, i.e.:
                                          • The disk shows always up in BIOS - so it is recognized, so far so good
                                          • POST-ing with this disk with fresh Windows 24H2 installation (done in the M.2_1 socket) in the M.2_2 socket
                                          ...
                                          02-23-2025, 01:33 PM
                                        • jkruns
                                          A1706 fails to install OS to any disk
                                          by jkruns
                                          Lectori salutem!

                                          The patient is an A1706 model - 2017 mb pro 13” core i7 16GB 512GB 4-thunderbolt ports

                                          Symptoms:
                                          • Boots in recovery mode (Sierra)
                                          • Internal SSD is visible and can be erased / partitioned
                                          • Sierra install starts with 6 minutes estimate, but at the end of the countdown fails with β€œAn error occurred while preparing the installation. Try running this application again.”
                                          • The same happens when I connect an external SSD or a USB-C thumbdrive and try to reinstall Sierra on that drive.
                                          • Does not boot from external (Sonoma) bootable thumbdrive
                                          • I have
                                          ...
                                          06-28-2024, 08:49 AM
                                        • japlytic
                                          DRIVER_PNP_WATCHDOG error re. old drivers in Windows 11 install image
                                          by japlytic
                                          In a Beelink GTR mini PC, mine has an Intel AX200NGW WLAN module.

                                          Tried (only with keyboard/mouse connected):
                                          • BIOS + database update
                                          • Using latest Windows 11 image built with official image creation tool
                                          • Previous setup version for Windows 11 installer
                                          • Replacing SSD without a slow block (the previous SSD had a slow block with access time > 500 mS)
                                          • TPM reset (worked to the point where DRIVER_PNP_WATCHDOG error message is displayed briefly after the point of stalling)
                                          • Disabling power to WLAN and LAN modules in BIOS (Advanced > AMD PBS > PCI Express Configuration)
                                          ...
                                          06-19-2025, 04:59 PM
                                        • welp
                                          PS5 Disk Tray issues.
                                          by welp
                                          I have a PlayStation 5 CH-1215A with a Disk drive not reading disks anymore. (accepting and ejecting very slowly.)
                                          Knowing the PS5 has a married daughter board for the disk drive I made sure to use that and replace the rest of the disk tray as it* was owned previously by an indoor smoker.
                                          Once the job was complete and put back everything together, I tried to insert a disk with no luck at all...
                                          So, I checked voltage going from the ps5 to the daughter board and am only getting the 5V rail.
                                          With that knowledge I preceded to check all the fuses for the 12v rail on the main...
                                          12-19-2024, 02:04 PM
                                        • chth96
                                          LG GCC-4521B cannot read any disk
                                          by chth96
                                          I bought 6 second hands odd $5 at a flea market and I found that 2 odd(GCC-4521B,TS-H192) won't read any disk.
                                          But I measured all ESR value of SMD capacitor which is located on the TS-H192's PCB and replaced two capacitor which has higher ESR value.
                                          And To My joy,this TS-H192 odd finally recognized burned CD as well as pressed CD.πŸ˜‚
                                          But there was no more good fortune for GCC-4521B..In order to dead GCC-4521B back to life, I replaced three capacitor which has higher ESR value and I rubbed silicon grease on the every glides.I even brushed lens with cotton swab which was soaked...
                                          02-13-2024, 07:31 AM
                                        • Loading...
                                        • No more items.
                                        Working...