New Laptop - empty m.2 socket - doesn'r recognise SSD

Page 3 of 5 FirstFirst 12345 LastLast

  1. Posts : 388
    Windows 10 Pro (x64) 22H2 (OS Build 19045.3996)
    Thread Starter
       #21

    bobkn said:
    I didn't notice the anti-tamper sticker in the online image. Your path makes more sense to me now.
    Now I understand why you were advocating swapping out the SSD for a bigger capacity.

    If I could guarantee getting the anti-tamper label off in one piece, I'd happily swap the 2242 SSD for a 2280 - but of course I won't know how it would turn out until I attempted it - then Murphy's Law would kick in, the label would tear and the laptop subsequently go belly-up!

    Too bad that 42 mm long SSDs are so scarce, and that there's no option for a regular 2.5" SATA drive. (The SATA performance would be inferior to PCI-E/NVME. but better than adequate for most purposes.)
    Agreed. The previous laptop had a small (16GB) Intel Optaine SSD and a 1TB 2.5" hard disk. I couldn't work out where the OS was (I suspected the Optane drive) but when one drive failed and the laptop wouldn't boot (and because I could get data off the hard disk when attached to another pc via a USB caddy) I suspected the Optaine SSD. That laptop was under a 2-year warranty and failed after 13 months. This new laptop isn't of the same high spec as the previous machine, but perfectly adequate for my wife's email/YouTube/WP etc.

    I've found a 512Gb and 1TB 2242 in the correct m.2 PCIe NVMe format. I've bought a small (128GB) SSD to clone the existing installation (after I've installed Office 2016/VLC/Acrobat etc, etc) so that I can save the pain of reinstallation if the SSD needs replacing and it will serve as 'proof of concept' that the empty m.2 drive does indeed work as advertised.

    If it does, then I'll get the bigger SSD for documents & storage because although her laptop is now just around 2 weeks old, she's used 30% of the disk.

    I'm also educating her to get used to storing documents & photos in an external disk.

    Art
      My Computers

  2.   My Computer


  3. Posts : 388
    Windows 10 Pro (x64) 22H2 (OS Build 19045.3996)
    Thread Starter
       #23

    Thanks Denis.

    Nearly ready to post the text document to run as a repeating task as per your advice last week.

    Art
      My Computers


  4. Posts : 17,086
    Windows 10 Home x64 Version 22H2 Build 19045.4894
       #24

    Art,

    OK, I'll see it tomorrow. I'm about to level off at two feet and shut down both engines.

    Denis
    Last edited by Try3; 27 Feb 2020 at 13:28.
      My Computer


  5. Posts : 388
    Windows 10 Pro (x64) 22H2 (OS Build 19045.3996)
    Thread Starter
       #25

    Hi Try3

    Here is the proposed batch file for the SD save ...

    Set BackupDrive=M:

    Robocopy "C:\desktop" "%BackupDrive%\Desktop" /S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Robocopy "C:\documents\birkdale\2019-20" "%BackupDrive%\documents\birkdale\2019-20" /S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Robocopy "C:\documents\computer stuff" "%BackupDrive%\documents\computer stuff"/S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Robocopy "C:\documents\house" "%BackupDrive%\documents\house" /S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Robocopy "C:\documents\maths teaching" "%BackupDrive%\documents\maths teaching /S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Robocopy "C:\documents\print screen files" "%BackupDrive%\documents\print screen files" /S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Robocopy "C:\documents\scan" "%BackupDrive%\documents\scan" /S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Robocopy "C:\documents\tutoring" "%BackupDrive%\documents\tutoring" /S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Robocopy "C:\documents\web orders" "%BackupDrive%\documents\web orders" /S /R:10 / MT:1 /DCOPY: DAT /XA:SH /MIR

    Pause to look at the results until you are confident in the file. This line makes the batch file stay open when it has finished its job.

    :: Put two colons in front of Pause after you decide you no longer want it to remain open when it has finished. Or just delete the Pause line and this line.

    NOTE: The actual file DOESN'T have a space in the middle of the command DCOPY: DAT (as shown here) If I leave the space out I get a bloody smiley!

    Art
      My Computers


  6. Posts : 17,086
    Windows 10 Home x64 Version 22H2 Build 19045.4894
       #26

    Art,

    That looks fine assuming your files really are in C:\desktop and C:\documents etc but
    - you've left out a " on the line Robocopy "C:\documents\maths teaching" "%BackupDrive%\documents\maths teaching
    - you have not put in a space before /s in the line Robocopy "C:\documents\computer stuff" "%BackupDrive%\documents\computer stuff"/S

    By the way, to avoid TenForums putting in those icons when you type /DCOPY:DAT
    - Type /DCOPY:DAT as normal then select the text and
    - click on the NoParse icon fourth from the right - it is the one that looks like a dotty file icon with a yellow warning triangle on it
    - or just manually write the codes around it [NOPARSE]/DCOPY:DAT[/NOPARSE]
    New Laptop - empty m.2 socket - doesn'r recognise SSD-avoid-tenforums-parsing.png

    Denis
      My Computer


  7. Posts : 388
    Windows 10 Pro (x64) 22H2 (OS Build 19045.3996)
    Thread Starter
       #27

    Thanks Denis or should that be 'Eagle Eyes' ??

    Well spotted! Yes, the locations of the various folders are in C: drive.

    Didn't know about the 'No Parse' command - that's very useful info.

    So, I amend the text file, save it with a '.bat' extension and check that Notepad hasn't added '.txt' on the end.

    Given the folders I'd like to copy is it simply that the SD card needs a folder called 'Documents' on it or do I need to create all of the sub-folders too, such as 'documents\birkdale\2019-20' ??

    Then run 'Task Scheduler' and point it at the '.bat' file?

    Have I got that right?

    Also, if you could, can you explain what each of the switches in the Robocopy command does - e.g. the '/MIR' in /S /R:10 / MT:1 /DCOPY:DAT /XA:SH /MIR. Robocopy /help says that MIR mirrors a complete directory tree (does that mean that it creates sub-folders as necessary??)

    Thanks in advance,

    Art
      My Computers


  8. Posts : 17,086
    Windows 10 Home x64 Version 22H2 Build 19045.4894
       #28

    Art,

    Given the folders I'd like to copy is it simply that the SD card needs a folder called 'Documents'
    Just create the folders that are explicitly identified in the commands -
    %BackupDrive%\Desktop
    %BackupDrive%\documents\birkdale\2019-20
    etc

    Then run 'Task Scheduler' and point it at the '.bat' file?
    Run the batch file on its own first to prove that it works correctly.
    - When you are happy with the batch file, you can put :: in front of the Pause command so that the batch file just closes when it finishes. Otherwise it will sit there afterwards ready for you to look at it [which you will only do a couple of times before getting bored]. I use :: instead of deleting lines if I know I would bring the lines back into use if I was investigating a problem.
    - Then set it up in Task scheduler using the procedure in Make Task scheduler run a batch file minimised and with a specific icon - TenForums

    Robocopy /help says that MIR mirrors a complete directory tree (does that mean that it creates sub-folders as necessary??)
    Yes, as long as the folder identified in the command has been created first, RoboCopy will create all the subfolders itself.

    can you explain what each of the switches in the Robocopy command does
    - /S makes it include subfolders
    - /R:10 makes it retry 10 times of it hits problems with any individual files
    - [B]/DCOPY:DAT[/B] This tells RoboCopy to copy all folder data, attributes & time stamps i.e. it makes a proper copy of the folder itself. RoboCopy automatically does this for files.
    - /XA:SH This tells it to skip System & Hidden files. They would not do any good in the backup so there's no point complicating matters by including them.
    - /MIR This tells it to make a mirror image of the folders - to copy across things that have changed and to delete things that are in the destination but no longer in the source.

    - /MT:1 makes it 'multi-thread' once - in other words it stops multi-threading.
    - - Multi-threading means it is trying to work in parallel so it's checking out the next files for processing while it is still copying across the previous ones.
    - - In other words, multi-threading allows it to do all its thinking & decision making in parallel with the relatively slow process of copying files to the destination instead of waiting for each file copy to complete ebfore thinking about what to do next. The difference can be astounding.
    - - When you want to you can experiment with, for example, /mt:32 to see if the destination drive can take it and, if it can, it does the job much quicker.
    - - I left mine at /MT:1 because I found that a previous SD card could not handle anything else.
    - - Multi-threading can be very useful if you are RoboCopying to a disk that can take it.
    - - I use it for RoboCopying between the hard drives of my computers and for external hard drives/SSDs but not for USBs/SDcards. This is based on my experience and your experience might be different.
    - - If you do experiment then make sure you time & record your tests because the time taken does not vary in an easily understood pattern.
    - - As an alternative to timing them, look at Task manager, Performance tab for the disks concerned & try to judge an average transfer rate by eye.
    - - I found for one RoboCopy batch file that ran quicker with /MT:16 than with /MT:32 and that would have been impossible [for me] to predict in advance.

    RoboCopy switches are also explained in RoboCopy Help, Robocopy - SS64, RoboCopy - TechNet/MSDocs but I found that I was only in the right frame of mind to study those properly once I had used RoboCopy quite a bit and already understood its basic operation. I suspect that you will only study them when you consider trying, say, /MT:32 instead of /MT:1

    Denis
      My Computer


  9. Posts : 388
    Windows 10 Pro (x64) 22H2 (OS Build 19045.3996)
    Thread Starter
       #29

    Thank you Denis.

    In a word FAN-TAS-TIC!

    Art

    - - - Updated - - -

    UPDATE:

    The 'Test' 128GB Toshiba SSD arrived in the post this morning and was installed and running in minutes (no drivers or formatting required).

    The newly-installed drive appears in 'This PC' as D: drive.



    The above information is intended to help anyone else with the same laptop - Lenovo IdeaPad S540-IWL install a second SSD. Adding an additional SSD to the empty m.2 socket is easy - the only really tricky part is opening up the laptop! Make sure that you get a m.2 NVMe PCIe 2242 card. The trouble is that these m.2 PCIe 2242 form-factor cards (22 x 42mm) aren't widely available.

    Of course, you could just remove the existing 256GB card and adapter freeing up the m.2 PCIe 2280 4x connector in the process and put the existing 2242 card in the 'JSSD2' socket. I haven't done that (as has been discussed earlier in this thread) as I'm guessing that removal or damage to the Lenovo 'Anti-Tamper' label would invalidate the 3-year guarantee on this laptop. The 2280 cards (22 x 80mm) are readily available from a wide variety of manufacturers.

    Anyway, in this new configuration, my wife has an additional 50% storage capacity (until I source a larger card - currently waiting for the WD 2242 card to be back in stock at Misco).

    Unfortunately, this post had images of the new card in situ. However in 'Preview' all of the image could be seen but when posted, the most relevant parts of the image were 'off the page'. Ho hum!

    I hope this helps,

    Art

    - - - Updated - - -
    @Try3

    I've discovered that you don't need to create the folders on the SD card before copying the files, the command you gave including the switches /S /R:10 /MT:1 /DCOPY:DAT /XA:SH /MIR automatically creates the required folders - so, for example the following command:
    Robocopy "C:\Users\AD\My Pictures" "%BackupDrive%\My Pictures" /S /R:10 /MT:1 /DCOPY:DAT /XA:SH /MIR
    will create the folder 'My Pictures' on the SD card complete with its contents (in my case 45.4GB of pictures).

    Similarly to copy across the folder Documents\COMPUTER STUFF just required the command:
    Robocopy "C:\Users\DAD\Documents\COMPUTER STUFF" "%BackupDrive%\Documents\COMPUTER STUFF" /S /R:10 /MT:1 /DCOPY:DAT /XA:SH /MIR

    There was a mistake in each line of the example file posted on 27th Feb (post #25 this thread) - I'd included a space after the '/' and before the 'MT:1' command. Needless to say, Robocopy threw up an error.

    The above examples have rectified this.

    Due to some of the folders having a LOT of stuff in them (e.g. the 'COMPUTER STUFF' folder is 60GB in size with 898 files and 89 folders, I am using a 256GB Integral SD Card, formatted as NTFS.

    The above is just for information, I hope this helps folks.

    Art
      My Computers


  10. Posts : 17,086
    Windows 10 Home x64 Version 22H2 Build 19045.4894
       #30

    will create the folder 'My Pictures' on the SD card
    Interesting. Perhaps I was remembering back to an earlier version or possibly XCopy.

    Denis
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:56.
Find Us




Windows 10 Forums