Second backup drive

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
dave8671
Level 4
Level 4
Posts: 337
Joined: Sat Jul 23, 2016 7:04 pm

Second backup drive

Post by dave8671 »

I though that my timeshift was backing up to my second drive nope. When I try to mount the drive it states can not be mounted. I formatted it to ex4 primary using gparted. Right now I have removed the partition so I can start fresh. What am I doing wrong again?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gittiest personITW
Level 12
Level 12
Posts: 4286
Joined: Tue May 28, 2019 4:27 pm

Re: Second backup drive

Post by gittiest personITW »

Hi,
How are you trying to mount the drive? What commands?
What are the parameters for mounting the drive in fstab or Disks?

Can you copy/paste the output from the following commands:

Code: Select all

sudo blkid 	

Code: Select all

sudo fdisk -l 	
It might not hurt to post your system spec also:

Code: Select all

inxi -Fxz
User avatar
dave8671
Level 4
Level 4
Posts: 337
Joined: Sat Jul 23, 2016 7:04 pm

Re: Second backup drive

Post by dave8671 »

Code: Select all

main@LinuxPC:~$ sudo blkid
/dev/nvme0n1p1: UUID="8121-07C4" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="b8a9407a-f41d-4e8e-a7b7-01976605d948"
/dev/nvme0n1p2: UUID="f3b12ba1-49dd-4b00-90f9-76aa09b2e78f" TYPE="ext4" PARTUUID="213240cc-610d-40cf-8b07-fb82a35784d6"
/dev/sda: PTUUID="ffec576a" PTTYPE="dos"



main@LinuxPC:~$ sudo fdisk -l
Disk /dev/nvme0n1: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 970 EVO 500GB               
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9DE78E8A-B11F-4C92-BB94-FE9ED50775DA

Device           Start       End   Sectors   Size Type
/dev/nvme0n1p1    2048   1050623   1048576   512M EFI System
/dev/nvme0n1p2 1050624 976771071 975720448 465.3G Linux filesystem


Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST3500413AS     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xffec576a




main@LinuxPC:~$ inxi -fxz
CPU:       Topology: Quad Core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64 type: MT MCP arch: Zen+ rev: 1 
           L2 cache: 2048 KiB bogomips: 59199 
           Speed: 1619 MHz min/max: N/A Core speeds (MHz): 1: 1619 2: 1757 3: 3031 4: 1636 5: 2022 6: 1678 7: 2859 8: 1819 
           Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 bmi2 bpext clflush clflushopt clzero 
           cmov cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
           fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor 
           movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq 
           pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 rdrand rdseed rdtscp rep_good 
           sep sev sha_ni skinit smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce 
           topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt 
           xsaves
gittiest personITW
Level 12
Level 12
Posts: 4286
Joined: Tue May 28, 2019 4:27 pm

Re: Second backup drive

Post by gittiest personITW »

So, you can mount it in and re-partition/format in Gparted, but can you mount it using the Disks app?
What are the mount settings you have for it in Disks? (Click the cog then look in the 'Edit mount options').
Copy paste what is there and which boxes are ticked.

Also - just for the future so you know, it is probably best to copy/paste a command as it is easy to miss or add a space or use the wrong case (capitals) etc.
User avatar
JerryF
Level 16
Level 16
Posts: 6572
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Second backup drive

Post by JerryF »

If the entire second disk is one partition and you assigned Timeshift to use that partition, then that's why you can't mount the second disk. It's already mounted.

If your Timeshift settings are set to take snapshots at intervals (daily, weekly, and/or monthly) then Timeshift is mounting the second disk's partition at /run/timeshift/.
Last edited by JerryF on Thu Jun 03, 2021 12:38 pm, edited 1 time in total.
bracknelson
Level 1
Level 1
Posts: 26
Joined: Tue Jan 19, 2021 6:30 am

Re: Second backup drive

Post by bracknelson »

Thanks to offer such an informative post, it would be helpful for all of us.
User avatar
dave8671
Level 4
Level 4
Posts: 337
Joined: Sat Jul 23, 2016 7:04 pm

Re: Second backup drive

Post by dave8671 »

I formatted the backup to ex4 and I was able to select the drive it under locations but the backup does not backup to the selected drive. I have a attachment for the path of the backup which I am sure its my SSD drive. Now the SDD is gpt and the back states its dos but its ex4.
Attachments
timeshift path.png
User avatar
dave8671
Level 4
Level 4
Posts: 337
Joined: Sat Jul 23, 2016 7:04 pm

Re: Second backup drive

Post by dave8671 »

So I can find the backup timeshift files in my SDD I provided another photo I can tell this is not the backup drive cause I can navigate file system to my home directory. If timeshift locks out drive its uses than I will have to rethink my HDD setup.
Attachments
Timeshift pic 2.png
User avatar
AndyMH
Level 21
Level 21
Posts: 13759
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Second backup drive

Post by AndyMH »

If the entire second disk is one partition and you assigned Timeshift to use that partition, then that's why you can't mount the second disk. It's already mounted.
You can mount a partition simultaneously in more than one place. One of my complaints about timeshift. I have my backup partition mounting at /media/ultrabay via fstab, but when timeshift runs it insists on also mounting it at /run/timeshift. So when I think I have un-mounted the partition, timeshift still has it mounted - which has caused me problems elsewhere until I realised what it was doing.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
dave8671
Level 4
Level 4
Posts: 337
Joined: Sat Jul 23, 2016 7:04 pm

Re: Second backup drive

Post by dave8671 »

I looked at how I was formatting the drive and figured out that I was creating a partition table with dos than creating the ex4. that did not work. I than formatting the drive to GPT all is working fine. I can mount the backup unmount and As I type this creating a timeshift backup on the backup drive.
User avatar
AndyMH
Level 21
Level 21
Posts: 13759
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Second backup drive

Post by AndyMH »

dave8671 wrote: Mon Jun 07, 2021 10:16 pm I looked at how I was formatting the drive and figured out that I was creating a partition table with dos than creating the ex4. that did not work.
Can't think of any logical reason why that shouldn't work. All my drives have legacy partition tables.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
JerryF
Level 16
Level 16
Posts: 6572
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Second backup drive

Post by JerryF »

AndyMH wrote: Mon Jun 07, 2021 5:20 am
If the entire second disk is one partition and you assigned Timeshift to use that partition, then that's why you can't mount the second disk. It's already mounted.
You can mount a partition simultaneously in more than one place. One of my complaints about timeshift. I have my backup partition mounting at /media/ultrabay via fstab, but when timeshift runs it insists on also mounting it at /run/timeshift. So when I think I have un-mounted the partition, timeshift still has it mounted - which has caused me problems elsewhere until I realised what it was doing.
Ah, didn't know that.
User avatar
AndyMH
Level 21
Level 21
Posts: 13759
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Second backup drive

Post by AndyMH »

Neither did I, I found out the hard way :)
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Locked

Return to “Storage”