SpaceInvader_One                                                          
***   unRAID                
  Ver   SpaceInvader_One                
  1/31/24                                                            
                             
  Index 1   Unraid Shares in Depth - PT1 Windows and SMB - Problems & Solutions   1 Unraid Shares in Depth              
  info https://www.youtube.com/watch?v=cEeEr89dSXc&t=411s 2 How and why to PreClear your hard drives before adding to your array  
  How_To's 3 How to Safely Shrink an Unraid Array            
  Plugins Interface eth0: note: stop arrary first.                          
  SpaceInvader_One                          
  snippets 0:07:49 set a Static IP Settings > System Settings > Network Settings > IPv4 address assignment: Static                          
  Snapshots IPv4 address: 192.168.0.17                          
                             
    Apply                          
                             
                             
    15:56 at a Windows PC >  search for Credential Manager                           
    at Credential Manager > Windows Credentials > Add a Windows credential >                          
    Type the address of the website or network location and your credentials:                          
    Name or Address:   192.168.0.17                          
    User name:   mdh2
    Password:   ****
   
    21:18 If your server doesn't always show up in local network in either windows explorer or Mac finder.
    Make sure youjr server is local master browser.
   
   
    23:22 SMB extras file Settings > SMB > SMB Extras: Samba extra configuration: [rvh]
       (can create our own custom shares ) path = /mnt/user/My_NAS/Mark
    comment = a share for Ramona
    browseable = yes
    27:55:00 Shares > Index of /mnt/user/media public = no
    valid users = rvh
    writeable = no
    vfs objects =
   
   
    2   How and why to PreClear your hard drives before adding to your array
   
    0:00 Why pre-clear: Helps check against failure due to "early drive mortality"
    When adding a disk (expanding an array), saves time  to a parity protected array. (must be zeroed)
    When expanding an array saves time adding a disk to a parity protected array. replacing a Disk   doesn't need to be zeroed as rebuild will write to all bytes on hardrive
   
   
    0:02:30 Time: 3 to 4 hours times the TB capacity. ie,  4 TB drive = 12 to 16 hours
   
    0:04:15 Apps > Community Applications  --> search for preclear  (by gfjardim )
   
   
    0:04:38 Install disk to a spare port in the server (and obviously can't be already part of the array ).
    Main > Unassigned Devices >  "sdx  your newly installed HD"
    click on device (sdx) and check out the smart data.
   
    0:05:10 Plugins > Preclear Disk ---> Preclear Status >  Start Preclear ---> Start Preclear Options > Start
   
      Settings > User Utilities > Unassigned Devieces >  Common Settings >  Destructive Mode:    enabled   https://forums.unraid.net/topic/105336-cant-mount-old-parity-drive-for-a-pre-clear/  
      Tools  >  Disk Utilities >  Preclear Disk                                      
   
    0:06:19 Phase 1 - Pre-Read
    Phase 2 - Zeroing the Disk
    Phase 3 - Post Read
   
    PreClear Finished Results Main > Unassigned Devices > click on Blue sysmbol next to the precleared hard drive.
   
    If the disk makes it thru the 3 phases with no reallocated sectors, no pending sectors, and verifying the zeros were all written correctly, you can be pretty sure that the drive is good.
   
   
   
   
   
   
   
    3 How to Safely Shrink an Unraid Array   Script used in this video  >> https://forums.unraid.net/topic/61614-shrink-array-question/#comment-606335
   
    0:04:02 use Unbalance to remove the data off the drive to be removed. Settings > User Utilities > Unbalanced Enable unbalanced server: Yes Apply
   
    Plugins > unbalanced >  open web UI ( v2024.03.26)
   
    disable dock containers Docker >  Stop All
   
    disable mover : Settings > user preferences > scheduler > Mover Settings Mover schedule: Daily  Monthly
    Day of week: ---------
    Day of month: --------- 01
    Time of day: 22:00
    Mover logging: Disabled
   
    Apply Done
   
   
    0:07:50 Tools > Unraid OS > Docker Safe New Perms  (from fix common problems plugin) Start  Done X Yes I want to do this
   
    0:08:14 Unbalance Web UI >  uncheck dry run and perform the "move"
   
    0:09:10 Turn off Auto start, shut down server, and remove disk
     
    Power up and take a "snapshot" [win+shift+S]  of the main tab, Array Devices. Drive removed should say "Missing"
   
    Tools> Unraid OS > New Config Presserve current assignments: Pool slots  X_Yes, I want to do this Apply
   
    Main > Array Devices >  "Unassigned" assign the disks, It is important to assign back the same disk as parity.
    If by accident you assigned a data disk as the partity, that disk would be erased when the array starts.
    So make sure to double check.
   
    then start the arrary. Start
           
   
    when finished, re-enable "mover" Settings > user preferences > scheduler > Mover schedule: change back to Daily Apply
   
    check your shares Shares >