Search found 54 matches

by Munty Scruntfundle
2019-05-05 19:22
Forum: Beginners Questions
Topic: chown and why it doesn't work?
Replies: 15
Views: 6661

Re: chown and why it doesn't work?

Yes I did. I said all sessions are sudo su. And yes I did, I gave you examples of the attributes. You want me to copy and paste a session screen on one machine, save it to a usb, bring it to this machine and copy and paste it in here, which will show you exactly the same characters in the exactly th...
by Munty Scruntfundle
2019-05-05 12:38
Forum: Beginners Questions
Topic: chown and why it doesn't work?
Replies: 15
Views: 6661

Re: chown and why it doesn't work?

Just to clarify a point, what I mean by Root not being the same user:
Root creates a file on node A. Root on node B can't edit the file, and the same In reverse. I've proved this to be true if the files stay in the created location or copied to a new location/node/disk.
by Munty Scruntfundle
2019-05-05 12:34
Forum: Beginners Questions
Topic: chown and why it doesn't work?
Replies: 15
Views: 6661

Re: chown and why it doesn't work?

I didn't get chance to get back to this until today. I couldn't see any problems with the mounts, certainly not read only, I could create new files on the drive from anywhere, just couldn't edit a bunch of them. I went back to the original data source just to check I wasn't going mad, but no, everyt...
by Munty Scruntfundle
2019-05-01 16:08
Forum: Beginners Questions
Topic: chown and why it doesn't work?
Replies: 15
Views: 6661

Re: chown and why it doesn't work?

Two drives. Two servers. Network copy, from a samba share.

Could you mount have anything to do with it, at copy or access time?
by Munty Scruntfundle
2019-05-01 12:18
Forum: Beginners Questions
Topic: chown and why it doesn't work?
Replies: 15
Views: 6661

Re: chown and why it doesn't work?

Hi folks. Yes, data store was kind of vague. Just a bunch of directories with files in, sh files, py files, a couple of iso, nothing special, not databases. Copying: cp. I think, but it was a while ago now, could have been synced. Permissions: They look the same with an ls -l. On the original drive ...
by Munty Scruntfundle
2019-04-30 10:22
Forum: Beginners Questions
Topic: chown and why it doesn't work?
Replies: 15
Views: 6661

chown and why it doesn't work?

Hi folks. I have recently moved a data store from one server to another, different ips, different disks but same file system. I performed everything as root (same login details) on both machines. However, now I can't edit the files. I can open, but no permission to save. This suggests there is a fil...
by Munty Scruntfundle
2019-04-26 19:59
Forum: General Questions
Topic: Redirecting all output to a file?
Replies: 3
Views: 1758

Redirecting all output to a file?

Hi folks. I know how to send normal output to a file, and how to use tee for a copy to screen. That's all well and good. But if I have a script with many echos and commands I'm doing a lot of editing if anything changes. Is there a way to: Do Stuff. Send ALL following output to file log.log Do more ...
by Munty Scruntfundle
2019-04-26 17:49
Forum: General Questions
Topic: When a mount fails?
Replies: 14
Views: 3572

When a mount fails?

Hi folks. I have a backup routine which runs nightly, nothing complicated, a simple cp from one external sata drive to another, one node to another. It works fine when it works. However, these machines aren't huge servers and sometimes they go wrong. Last night, for some unknown reason, the mount to...
by Munty Scruntfundle
2019-04-26 12:54
Forum: General Questions
Topic: df difference on two nodes.
Replies: 2
Views: 1867

Re: df difference on two nodes.

Does knowing my UID number make a difference to the answer?

Thanks for the info on the nofail, I'd picked that up from another site that said tack it on the end.
by Munty Scruntfundle
2019-04-22 10:52
Forum: General Questions
Topic: df difference on two nodes.
Replies: 2
Views: 1867

df difference on two nodes.

Hi there. I have two pis, both running Debian 9 Stretch, all up to date, both have an ssd attached via Sata. In fstab I have the line UUID="blah blah" /mountpoint etx4 defaults 0 0 nofail. Exactly the same line, with the UUID different. Of course. If I df on these two pis I get different r...
by Munty Scruntfundle
2019-04-19 09:02
Forum: General Questions
Topic: fsck with an sd card?
Replies: 9
Views: 4451

Re: fsck with an sd card?

In my defence, I have 130 SDs and adapters here, i looks as if at least a couple of them aren't seating properly. As I'd used multiples of them, and the reader reads, I had discounted them (foolishly) from the equation.

Lesson learnt. (Very embarrassed face)
by Munty Scruntfundle
2019-04-19 08:55
Forum: General Questions
Topic: fsck with an sd card?
Replies: 9
Views: 4451

Re: fsck with an sd card?

Arse, no, that's my fault hang on....

If I've got a dodgy card reader I'm going to be miffed...
by Munty Scruntfundle
2019-04-19 08:51
Forum: General Questions
Topic: fsck with an sd card?
Replies: 9
Views: 4451

Re: fsck with an sd card?

As an example.... I get the same results if I check an Ubuntu image, a Raspbian image, Debian. root@p131:/# fsck /dev/sda fsck from util-linux 2.29.2 e2fsck 1.43.4 (31-Jan-2017) fsck.ext2: No medium found while trying to open /dev/sda The superblock could not be read or does not describe a valid ext...
by Munty Scruntfundle
2019-04-18 20:16
Forum: General Questions
Topic: fsck with an sd card?
Replies: 9
Views: 4451

fsck with an sd card?

Should fsck work ok with an img on an sd card in an external reader? With several images from various vendors of pis I'm getting loads of invalid superblock errors, and suggestions to try ex2 which just gives the exact same error. Surely fsck knows how to interrogate an sd with an image on it? I hav...
by Munty Scruntfundle
2019-04-15 10:52
Forum: General Questions
Topic: Banana pi SD problem with gparted.
Replies: 10
Views: 3200

Re: Banana pi SD problem with gparted.

Sorry folks, I didn't mean to cause any offence with a second post, I felt the issues where different as I'd definitely found where the problem starts. I did look through the returns on the other thread but nothing has helped. Let me run through exactly what I'm doing, I gather I've rambled a bit a ...
by Munty Scruntfundle
2019-04-13 18:09
Forum: General Questions
Topic: Banana pi SD problem with gparted.
Replies: 10
Views: 3200

Re: Banana pi SD problem with gparted.

While searching through the ever decreasing circles, I stumbled on TestDisk. Running this tells me the disk (sd) isn't bootable. Well it is. It also gives me 3 errors where start and end blocks don't match. Something is going every wrong at a low level. Do I need a different image to start with? As ...
by Munty Scruntfundle
2019-04-13 17:44
Forum: General Questions
Topic: Banana pi SD problem with gparted.
Replies: 10
Views: 3200

Banana pi SD problem with gparted.

Hi folks. I started a thread on this problem a while ago, but I had no idea where the issue was starting. Having re-flashed a couple of SDs recently I've found the culprit. I have a Debian stretch image which I've flashed to a couple of SDs and spun up in Banana pis. All works fine, but the image is...
by Munty Scruntfundle
2019-04-11 16:14
Forum: Beginners Questions
Topic: fstab entry locking machine.
Replies: 3
Views: 2125

fstab entry locking machine.

Hi there. On a Debian node I have an SSD attached via Sata with a relevant entry in fstab. This all works fine. But, if the drive//cable is removed the machine halts during the boot process. It kind find the drive, therefore it stops. Is there a way to bypass this behaviour? If the drive isn't found...
by Munty Scruntfundle
2019-04-03 09:47
Forum: General Questions
Topic: New ssd / parted problem.
Replies: 8
Views: 3534

Re: New ssd / parted problem.

Ahhh, ok.... root@p134:/home/pi# parted --list Model: KINGSTON SA400S37240G (scsi) Disk /dev/sda: 240GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags Error: /dev/mmcblk1boot0: unrecognised disk label Model: Generic SD/MMC St...
by Munty Scruntfundle
2019-04-02 20:09
Forum: General Questions
Topic: New ssd / parted problem.
Replies: 8
Views: 3534

Re: New ssd / parted problem.

But it's all graphical in gparted??